summaryrefslogtreecommitdiff
path: root/3159/CH8/EX8.1/Ex8_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3159/CH8/EX8.1/Ex8_1.sce')
-rwxr-xr-x3159/CH8/EX8.1/Ex8_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3159/CH8/EX8.1/Ex8_1.sce b/3159/CH8/EX8.1/Ex8_1.sce
new file mode 100755
index 000000000..ee1bd5c83
--- /dev/null
+++ b/3159/CH8/EX8.1/Ex8_1.sce
@@ -0,0 +1,9 @@
+// calculate the rate at which hydrogen escapes through the walls of the steel tank
+clc
+t = 5 // thickness in mm
+c = 10 // concentration
+D = 1e-9 // diffusion coefficient
+printf("\n Example 8.1")
+j = D*c/(t*1e-3)
+printf("\n Outward flux is %.0e kg m^-2 s^-1",j)
+