(Electrical eng.) The electrical resistance, r, of a metal wire, in ohms, is given by this…
(Electrical eng.) The electrical resistance, r, of a metal wire, in ohms, is given by this formula:
m is the resistivity of the metal.
l is the length of the wire in feet.
is the cross-sectional area of the wire in circular mils.
Using this information, you need to write a C++ program that calculates the resistance of a wire that’s 125 feet long, has a cross-sectional area of 500 circular mils, and is copper. The resistivity of copper, m, is 10.4.
a. Determine the outputs required of the program.
b. What inputs does the program require?
c. What is the formula for obtaining the outputs from the inputs?