summaryrefslogtreecommitdiff
path: root/1394/CH20/EX20.1.1/Ex20_1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1394/CH20/EX20.1.1/Ex20_1_1.sce')
-rwxr-xr-x1394/CH20/EX20.1.1/Ex20_1_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1394/CH20/EX20.1.1/Ex20_1_1.sce b/1394/CH20/EX20.1.1/Ex20_1_1.sce
new file mode 100755
index 000000000..9afb25c71
--- /dev/null
+++ b/1394/CH20/EX20.1.1/Ex20_1_1.sce
@@ -0,0 +1,13 @@
+
+clc
+//initialization of variables
+T = 26.2 // centigrade
+T0 = 4 // centigrade
+Tinf = 40 //centigrade
+z = 1.3//cm
+t = 180 //seconds
+//calculations
+k = erfinv((T-T0)/(Tinf-T0))
+alpha = (1/(4*t))*((z/k)^2)//cm^2/sec
+//Results
+printf("The thermal diffusivity is %.3f",alpha)//answer wrong in textbook