summaryrefslogtreecommitdiff
path: root/1784/CH31/EX31.3/example3.sce
blob: 6bb1c7967ee216e3409a1e8cae633d507ac76938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//chapter 31
//example3
clc
//given
disp("Dimensions of rectangular carbon block are 1.0cm*1.0cm*50cm")
l=1.0*10^-2 //in meter
b=1.0*10^-2//in meter
h=50*10^-2 //in meter
p=3.5*10^-5 //resisivity of carbon in ohm-m
//(a)Resistance b/w two square ends
l1=h
A1=b*l
R1=p*l1/A1
disp(R1,"(a) Resistance measured b/w the two square ends in ohm is")
l2=l
A2=b*h
R2=p*l2/A2
disp(R2,"(a) Resistance measured b/w the two opposite rectangular faces in ohm is")