blob: 53b638a6ac793c4b68890131b45813b28d8df9dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//clear//
//Caption: Program to calculate the capacitance of a parallel plate capacitor
//Example6.3
//page 151
clc;
S = 10;//area in square inch
S = 10*(0.0254)^2; //area in square metre
d = 0.01; //distance between the plates in inch
d = 0.01*0.0254; //distance between the plates in metre
e0 = 8.854e-12; //free space permittivity in F/m
er = 6; //relative permittivity of mica
e = e0*er;
C = parallel_capacitor(e,S,d);
disp(C*1e09,'Capacitance of a parallel plate capacitor in pico farads C =')
//Result
//Capacitance of a parallel plate capacitor in pico farads C = 1.3493496
|