Explore BrainMass

# Using Turbo Pascal to Calculate Total Resistance

Not what you're looking for? Search our solutions OR ask your own Custom question.

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

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?

https://brainmass.com/computer-science/pseudocode/turbo-pascal-total-resistance-circuit-2512

#### Solution Preview

The total resistance in a circuit for resistors in series is just the sum of the resistances, i.e.

R = r1+r2+...+r10

For parallel:

1/R=(1/r1)+(1/r2)+...+(1/r10)

in both cases R is the total resistance and r1,...r10 are the individual resistances

At the start of the program, ...

#### Solution Summary

This job applies turbo pascal. The expert calculates the total resistance using Turbo Pascals.

\$2.49