Circuit Analysis with LabVIEW II

 

            Today we’ll put in a second resistance R2 in series with R1. Two resistors are in series when there is a same current flowing through both, in this case the equivalent resistance of the two, let’s call it RS, is given by

                                                                RS = R1 + R2

Using Ohm’s law, the current through the circuit IS can be obtained as

                                                                IS= V/RS

Where V is the battery voltage. The voltage at a point between R1 and R2, named V1, is given by Ohm’s law again:                                                     V1= IS * R2

Your task is to design a VI that use these formulas to predict the current in the circuit IS and the voltage at a point between R1 and R2, V1, given as inputs V (unit=Volt or V), and R1 and R2 (units= Ohm). This circuit is called a voltage divider.