blob: 5daecc2e783b0494c1133d81d4cf35b8c254c316 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//Given
e=8.854*10**-12
K=6
A=30
d=2.0*10**-3
E=500
//Calculation
C=e*K*A/d
V=E*d*10**3
q=C*V
//Result
printf("\n Capacitance of a parallel plate %0.3f micro C",q*10**3)
|