summaryrefslogtreecommitdiff
path: root/2345/CH15/EX15.30/Ex15_30.sce
blob: c33ebde032a1cf75f625ad615b6f2f1a3e874fa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Finding K and flux density
//Example 15.30(pg. 411)
clc
clear
V=15*(10^3)//potential difference applied in V
A=0.02//surface area of plate in m^2
d=0.001//distance between plates in m
C=4.5*(10^-10)//Capacitance of capacitor in F
Ko=8.854*(10^-12)//constant
K=(C*d)/(Ko*A)//dielectric constant
q=C*V//charge on condenser in C
D=q/A//Electric flux density in C/m^2
printf('Thus the Charge of condenser is %e Coulomb\n',q)
printf('And the electric flux density of condenser is %e microF',D)