summaryrefslogtreecommitdiff
path: root/2345/CH15/EX15.10/Ex15_10.sce
blob: 82187aa3cc7250c3c9b42c35f62ccacd99d2efd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Finding resistance
//Example 15.10(pg 398)
clc
clear
rho=1.7*(10^-6)//resistivity of copper in ohm-cm
l=5//length in metres
t=0.005//thickness in m
D=0.08//external diameter in m
d=D-(2*t)//internal diameter in m
a=%pi*(D^2-d^2)/4//cross section area in cm^2
R=rho*l/a//resistance of copper tube in ohm
R1=R/(10^-4)//resistance in micro-ohm
printf('Thus the resistance of copper tube is %3.2f micro-ohm',R1)