blob: eb62c86fb581d7969a66069b39a6ca253df623f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
m=9*10**9
c=50*10**-12
V=10**4
//Calculation
r=(m*c)*10**2
q=(c*V)
//Result
printf("\n (i) Radius of a isolated sphere is %0.3f cm",r)
printf("\n (ii) Charge of a isolated sphere is %0.3f micro C", q*10**6)
|