summaryrefslogtreecommitdiff
path: root/1394/CH5/EX5.5.2/Ex5_5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1394/CH5/EX5.5.2/Ex5_5_2.sce')
-rwxr-xr-x1394/CH5/EX5.5.2/Ex5_5_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1394/CH5/EX5.5.2/Ex5_5_2.sce b/1394/CH5/EX5.5.2/Ex5_5_2.sce
new file mode 100755
index 000000000..7e4b2c163
--- /dev/null
+++ b/1394/CH5/EX5.5.2/Ex5_5_2.sce
@@ -0,0 +1,9 @@
+
+clc
+//Intialization of variables
+sigmasquare = 0.014 // Slope of the graph
+t = 150 // seconds
+//Calculations
+D = (sigmasquare/(2*t))*10^5 // in x*10^-5 cm^2/sec
+//Results
+printf("The value of diffusion co efficient is %.1f x10^-5 cm^2/sec",D)