summaryrefslogtreecommitdiff
path: root/3845/CH20/EX20.5/Ex20_5.sce
blob: 72b8e6f9b4eb19cb2b4979a09690fc407dfec975 (plain)
1
2
3
4
5
6
7
8
9
//Example 20.5
rho=5.6*10^-8;//Resistivity of tungsten (ohm.m)
L=4*10^-2;//Length (m)
R=0.350;//Resistance (ohm)
A=rho*L/R;//Cross-sectional area of filament (m^2)
D=2*sqrt(A/%pi);//Diameter (m)
printf('Filament diameter = %0.1e m',D)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest