blob: c6731bc230cdb900b2e54d32bd9ff56b240b426e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//
//
//
//Variable declaration
epsilonr=5 //relative permittivity
V=12 //potential(V)
d=2*10**-3 //separation(m)
epsilon0=8.85*10**-12
//Calculation
P=epsilon0*(epsilonr-1)*V/d //polarisation(C-m)
//Result
printf("\n polarisation is %0.3f *10**-9 C-m",P*10**9)
|