1 2 3 4 5 6
clc; q1=1; //charge in C q2=1; //charge in C r=1; //r in m F=(9*10^9)*((q1*q2)/r^2); //calculating F disp(F,"Force in Newton = "); //displaying result