summaryrefslogtreecommitdiff
path: root/3363/CH16/EX16.1/Ex16_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3363/CH16/EX16.1/Ex16_1.sce
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 '3363/CH16/EX16.1/Ex16_1.sce')
-rwxr-xr-x3363/CH16/EX16.1/Ex16_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3363/CH16/EX16.1/Ex16_1.sce b/3363/CH16/EX16.1/Ex16_1.sce
new file mode 100755
index 000000000..211b4c9d3
--- /dev/null
+++ b/3363/CH16/EX16.1/Ex16_1.sce
@@ -0,0 +1,9 @@
+//Example 16.1, page 575
+clc
+r=(4**(1/3)+208**(1/3))*1.07
+printf("\n The sum of radii is %f F",r)
+e=1.60*10^-19//in coul
+z=82
+x=1.1*10^-10//coul2/nt-m2
+Vo=(2*z*e*e)/(x*r*10^-15)
+printf("\n The total energy is %e J",Vo) \ No newline at end of file