Explore BrainMass

Using Turbo Pascal to Calculate Total Resistance

A program is required to calculate the total resistance in a circuit. The resistors can either be in series or in parallel but not both. The number of resistors in the circuit can range from 2 to 10. How do I get started?

Solution Preview

The total resistance in a circuit for resistors in series is just the sum of the resistances, i.e.
<br><br>R = r1+r2+...+r10
<br><br>For parallel:
<br><br>in both cases R is the total resistance and r1,...r10 are the individual resistances
<br><br>At the start of ...

Solution Summary

This job applies turbo pascal.