Question: Electric wire, like that in the photo, is a cylindrical conductor covered by an insulating material. The resistance of a piece of wire is given
Electric wire, like that in the photo, is a cylindrical conductor covered by an insulating material. The resistance of a piece of wire is given by the formula

where ρ is the resistivity of the conductor, and L, A, and d are the length, cross sectional area, and diameter of the wire. The resistivity of copper is 1.678 × 10−8 Ω m. The wire diameter, d, is commonly specified by the American wire gauge (AWG), which is an integer, n. The diameter of an AWG n wire is given by the formula

Write a method
public static double diameter(int wireGauge)
that accepts the wire gauge and returns the corresponding wire diameter. Write another method
public static double copperWireResistance(double length, int wireGauge)
that accepts the length and gauge of a piece of copper wire and returns the resistance of that wire. The resistivity of aluminum is 2.82 × 10−8 Ω m. Write a third method
public static double aluminumWireResistance(double length, int wireGauge)
that accepts the length and gauge of a piece of aluminum wire and returns the resistance of that wire. Write a program to test these methods.
R = PL - 4pl. A d ad?
Step by Step Solution
3.27 Rating (159 Votes )
There are 3 Steps involved in it
import javalangMath import javaioConsole public class WireResistance private static double length di... View full answer
Get step-by-step solutions from verified subject matter experts
