Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How would you go about doing this? (Matlab coding) When electrons flow across a

ID: 3550309 • Letter: H

Question

How would you go about doing this? (Matlab coding)

When electrons flow across a wire, there is a natural resistance to their flow by the wire itself - akin to the friction generated between a skate and ice if we were to ice skate or a ski and water, etc. The resistance, R, of a wire depends on a few factors - the cross-sectional area, A, of the wire, the length of the wire, L, and the resistivity of the wire, rho, which is a temperature dependent material property. We will assume that temperature remains constant. The mathematical relationship is R = rhoL/A. Create a .m file which maps the material chosen to a resistance assuming a standard spool length, L, of 100 meters and a cross-sectional radius of 1/4 inch (convert to meters and compute area). Use the menu() function. Table 1: Resistivity values for various materials

Explanation / Answer

clc

clear all

format long

choice = menu('Choose a material','Silver','Copper','Aluminium','Tungesten','Iron','Platinum','Nichrome');

resitivity=[1.59*10^-8 1.68*10^-8 2.65*10^-8 5.6*10^-8 9.71*10^-8 10.6*10^-8 100*10^-8];

length=100;

radius=1/4*0.0254;

area=pi*radius^2;

resistance=resitivity(choice)*length/area

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote