1 2 3 4 5 6 7 8 9 10 11 12
clear //Given m=9*10**9 q1=1/3.0*10**-7 r=5*10**-2 F=58.8*10**-3 //Calculation q2=F*r**2/(q1*m) //Result printf("\n Charge is %0.3f C", q2)