summaryrefslogtreecommitdiff
path: root/3769/CH4/EX4.24/Ex4_24.sce
blob: a387f0f3932a7a79a506da61b3594a43cec59a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

clear
//Given
K=5
l=0.2
c=10**-9               //F
b=15.4
a=15
pd=5000                  //V

//Calculation
//
C=(K*l*c)/(41.1*log10(b/a))

//Result
printf("\n (i) The capacitance of cylindrical capacitor is  %0.1f *10**-9 F",C*10**9)
printf("\n (ii) The potential of the inner cylinder is equal to p.d. between two cylinders i.e potential of inner cylinder is %0.3f  V",pd)