summaryrefslogtreecommitdiff
path: root/3369/CH3/EX3.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3369/CH3/EX3.18
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 '3369/CH3/EX3.18')
-rwxr-xr-x3369/CH3/EX3.18/Ex3_18.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3369/CH3/EX3.18/Ex3_18.sce b/3369/CH3/EX3.18/Ex3_18.sce
new file mode 100755
index 000000000..6bcdcaba8
--- /dev/null
+++ b/3369/CH3/EX3.18/Ex3_18.sce
@@ -0,0 +1,17 @@
+//Chapter 3, Exmaple 18, page 110
+//Determine the diameter
+clc
+clear
+//Based on the equation 3.40
+k = 1.38*10**-23
+T = 293
+z2z1 = 0.05
+e = 1.6*10**-19
+E = 250
+r1 = 0.09*10**-6
+r1r2 = (6*k*T*z2z1)/(e*E)
+r2 = sqrt(r1+r1r2)
+printf("\n r1^2-r2^2 = %e ",r1r2)
+printf("\n r2 = %e m ",r2)
+
+//answers may vary due to round off error