summaryrefslogtreecommitdiff
path: root/3763/CH6/EX6.1/Ex6_1.sce
blob: 2834c36140583432e59b76848270226e4ea48d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clear
//
//
//

//Variable declaration
rho=5*10**16   //resistivity(ohm m)
l=5*10**-2    //thickness(m)
b=8*10**-2    //length(m)
w=3*10**-2    //width(m)

//Calculation
A=b*w    //area(m**2)
Rv=rho*l/A    
X=l+b      //length(m)
Y=w      //perpendicular(m)
Rs=Rv*X/Y    
Ri=Rs*Rv/(Rs+Rv)       //insulation resistance(ohm)

//Result
printf("\n insulation resistance is %0.2f  *10**18 ohm",Ri/10**18)
printf("\n answer varies due to rounding off errors")