ABSTRACT

First, we assign values to the input voltage El, and the two resistors Rl and R2: Rl := 1000, R2 := 3000, El :=10. If we want to dress this up a little bit, we can use unit suffixes:

K := 103, V :=I, Rl := l·K, R2 := 3·K, El := IO·V

Next, we create a Mathcad function that expresses the voltage divider equation. These functions are much like subroutines in programming languages such as Fortran or QBasic. We can then "call" them and pass original or modified parameters to get the answers we need.