Question: Need this question answered in python. Science P5.35 Electric wire, like that in the photo, is a cylindrical conductor covered by an insulat- ing material.
Need this question answered in python.
Science P5.35 Electric wire, like that in the photo, is a cylindrical conductor covered by an insulat- ing material. The resistance of a piece of wire is given by the formula where p 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 AWGn wire is given by the formula 36-n d= 0.1279239 mm Write a function def diameter(wireGauge) that accepts the wire gauge and returns the corresponding wire diameter. Write def copperwireResistance(length, 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-"(2 m. Write a third function def aluminumwireResistance(length, 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 functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
