(Electrical eng.) The electrical resistance, r, of a metal wire, in ohms, is given by this formula: ml a mis the resistivity of the metal. Tis the length of the wire in feet. a 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?

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter3: Assignment, Formatting, And Interactive Input
Section3.4: Program Input Using Cin
Problem 3E
icon
Related questions
Question
(Electrical eng.) The electrical resistance, r, of a metal wire, in ohms, is given by this formula:
ml
a
mis the resistivity of the metal.
Tis the length of the wire in feet.
a 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?
Transcribed Image Text:(Electrical eng.) The electrical resistance, r, of a metal wire, in ohms, is given by this formula: ml a mis the resistivity of the metal. Tis the length of the wire in feet. a 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?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr