summaryrefslogtreecommitdiff
path: root/3769/CH3/EX3.24/Ex3_24.sce
blob: 3ef6ff585e0c1ddec1829ddeb245d833ef3dba94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
r=0.2
m=9*10**9
b=50

//
E=250*r
a=E*4*%pi*r**2
q=b*r**2/m

//Result
printf("\n Charge contained in a sphere is  %0.2f *10**-10 C",q*10**10)