summaryrefslogtreecommitdiff
path: root/608/CH40/EX40.01/40_01.sce
blob: 16ba0886a1ac65665083df3b79ba3fa462fb8c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Problem 40.01: A field plot between two metal plates is shown in Figure 40.9. The relative permeability of the dielectric is 2.8. Determine the capacitance per metre length of the system.

//initializing the variables:
e0 = 8.85E-12; 
er = 2.8;
l = 1; // in m

//calculation: 
//From Figure 40.9
m = 16; // number of parallel squares measured along each equipotential
n = 6; // the number of series squares measured along each line of force
C = e0*er*l*m/n

printf("\n\n Result \n\n")
printf("\n capacitance is %.3E Farad.",C)