blob: 5a7da634feba4a46e8412df4d34240018dd315fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//to calculate dielectric constant of the liquid
//capacitance of the air filled dielectric Cair=Q/Vo-----------eq(1)
//when dielectric is filled between the plates ,Cliquid=Q/V
//then Cliquid=epsilonr*Q/Vo------eq(2)
Vo=60
//voltage in volts
V=30
//from eq(1) and eq(2),we get
epsilon0=Vo/V
disp("the dielectric constant of the liquid is epsilon0="+string(epsilon0)+"unitless")
|