blob: b6b4beb8b7383c6e40539c58e10122e5a345c7a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//Calculate the change in capacitance and ratio
clc;
e0=8.85*10^-12;
A=500*10^-6;
d=0.2*10^-3;
C=e0*A/d;
d1=0.18*10^-3;
C_new=e0*A/d1;
C_change=C_new-C;
Ratio=(C_change/C)/(0.02/0.2);
disp(Ratio,'ratio of per unit change of capacitance to per unit change of diaplacement')
d1=0.19*10^-3;
e1=1;
d2=0.01*10^-3;
e2=8;
C=(e0*A)/((d1/e1)+(d2/e2));
d1_new=0.17*10^-3;
C_new=(e0*A)/((d1_new/e1)+(d2/e2));
C_change=C_new-C;
Ratio=(C_change/C)/(0.02/0.2);
disp(Ratio,'ratio of per unit change of capacitance to per unit change of diaplacement')
|