summaryrefslogtreecommitdiff
path: root/620/CH2/EX2.2/example2_2.sce
blob: 35c7ffdc93abc2961142dc6d7bc17fb2968f4be3 (plain)
1
2
3
4
5
6
q1=-1.6*10^(-19);
q2=29*1.6*10^(-19);
r=10^(-10);
k=9*10^9;
f=k*q1*q2/r^2;
disp("the force of attraction (in N) is"); disp(f);