summaryrefslogtreecommitdiff
path: root/3769/CH4/EX4.9/Ex4_9.sce
blob: 8b1a978f66ef8349fc316aa04fa86bf30335b81e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//Given
C=300*10**-12
V=10*10**3
A=0.01
d=1*10**-3

//Calculation
q=C*V
a=q/A
E=V/d

//Result
printf("\n (i) Charge on each plate is  %0.3f  C", q)
printf("\n (ii) Electric flux density is  %0.3f  10**-4 C/m**2", a*10**4)
printf("\n (iii) Potential gradient is  %0.3f  V/m", E)