Problem 60811. Voltage Divider Calculation
A voltage divider is a simple circuit used to obtain a reduced voltage from a higher voltage source using two resistors in series. The output voltage (Vout) is given by the formula:
Where:
- Vout is the output voltage in volts (V)
- Vin is the input voltage in volts (V)
- R1 and R2 are the resistances in ohms (Ω)
Write a function that takes Vin, R1, and R2 as inputs and returns Vout.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers21
Suggested Problems
-
21 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!