summaryrefslogtreecommitdiff
path: root/1301/CH12/EX12.9/ex12_9.sce
blob: 577cdc3f1c56fa141a9ba94ec3c278090f575b58 (plain)
1
2
3
4
5
6
7
clc;
k=9*10^9;     //constant in free space in N.m square/C square
q1=1.6*10^-19;   //charge in coulomb
q2=1.6*10^-19;   //charge in coulomb
r=5.3*10^-11;    //radius in metre
F=(k*q1*q2)/(r*r);    //calculating force in Newton
disp(F,"Force in Newton = ");     //displaying result