summaryrefslogtreecommitdiff
path: root/3689/CH17/EX17.4/17_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3689/CH17/EX17.4/17_4.sce')
-rw-r--r--3689/CH17/EX17.4/17_4.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3689/CH17/EX17.4/17_4.sce b/3689/CH17/EX17.4/17_4.sce
new file mode 100644
index 000000000..876610348
--- /dev/null
+++ b/3689/CH17/EX17.4/17_4.sce
@@ -0,0 +1,10 @@
+////Variable Declaration
+D = 2.2e-5 //Diffusion coefficient of benzene, cm2/s
+x0 = 0.3 //molecular diameter of benzene, nm
+
+//Calculations
+t = (x0*1e-9)**2/(2*D*1e-4)
+
+//Results
+printf("\n Time per random walk is %4.3e s or %4.2f ps",t,t/1e-12)
+