summaryrefslogtreecommitdiff
path: root/3769/CH3/EX3.28/Ex3_28.sce
blob: d2498f750e9ee9008df4df45f186e0961d069436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
q=5.8*10**-6               //C
r=8*10**-2                 //m
e=8.854*10**-12
l=3.0

//Calculation
//
E=q/(2*%pi*e*r*l)

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