summaryrefslogtreecommitdiff
path: root/1730/CH2/EX2.40/Exa2_40.sce
blob: 9204490a5fae7472838000b213cbe386060e147b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//Exa2.40
clc;
clear;
close;
format('v',9)
// given data
// First Case:
r1=1.5/2;// in cm
// let radius thickness of insulation = r1_t
r1_t=1.5;// in cm
r2=r1+r1_t;
R_desh=500;// in M ohm
R_desh=R_desh*10^6;// in ohm
// Second case:
r1_desh=r1;// in cm (as before)
// let radius thickness of insulation = r2_t
r2_t=2.5;// in cm
r2_desh=r1+r2_t;
// since Insulation resistance , R_desh= sigma/(2*%pi*l)*log(r2/r1) and
//                               R1_desh= sigma/(2*%pi*l)*log(r2_desh/r1_desh)
// Dividing R1_desh by R1, We get
// R1_desh/R_desh = log(r2_desh/r1_desh)/log(r2/r1)
// Let R = R1_desh/R_desh, Now
R= log(r2_desh/r1_desh)/log(r2/r1);
R1_desh=R*R_desh;
disp("New insulation resistance is : "+string(R1_desh*10^-6)+" M ohm");