summaryrefslogtreecommitdiff
path: root/34/CH11/EX11.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /34/CH11/EX11.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '34/CH11/EX11.2')
-rwxr-xr-x34/CH11/EX11.2/Ch11Exa2.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/34/CH11/EX11.2/Ch11Exa2.sci b/34/CH11/EX11.2/Ch11Exa2.sci
new file mode 100755
index 000000000..51ab0367f
--- /dev/null
+++ b/34/CH11/EX11.2/Ch11Exa2.sci
@@ -0,0 +1,12 @@
+
+r= 2.4; //distance between centre of the protons, fm
+r= r*(10^(-15)); //converting to m
+e= 1.6*(10^(-19)); //charge of an electron, C
+Po= 8.85*(10^(-12)); //Permittivity of free space, F/m
+K=1/(4*(%pi)*Po); //constant, N.m^2/C^2
+F= K*(e^2)/(r^2); //N
+disp(F,"The repulsive force, in N, is: ")
+
+//Result
+// The repulsive force, in N, is:
+// 39.963576 \ No newline at end of file