summaryrefslogtreecommitdiff
path: root/3769/CH2/EX2.15/Ex2_15.sce
blob: bc9ff475a4b6e3f3ef9e1290df01488637d00cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
q=2*10**-6
a=0.1
m=9*10**9
r=0.5

//Calculation
p=q*a
E=m*p/r**3

//Result
printf("\n Electric field intensity is  %0.3f  *10**4 N/C",E*10**-4)