diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1301/CH12/EX12.9/ex12_9.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1301/CH12/EX12.9/ex12_9.sce')
-rwxr-xr-x | 1301/CH12/EX12.9/ex12_9.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/1301/CH12/EX12.9/ex12_9.sce b/1301/CH12/EX12.9/ex12_9.sce new file mode 100755 index 000000000..577cdc3f1 --- /dev/null +++ b/1301/CH12/EX12.9/ex12_9.sce @@ -0,0 +1,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
\ No newline at end of file |