summaryrefslogtreecommitdiff
path: root/965/CH2/EX2.80/80.sci
diff options
context:
space:
mode:
Diffstat (limited to '965/CH2/EX2.80/80.sci')
-rw-r--r--965/CH2/EX2.80/80.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/965/CH2/EX2.80/80.sci b/965/CH2/EX2.80/80.sci
new file mode 100644
index 000000000..bc7bb8688
--- /dev/null
+++ b/965/CH2/EX2.80/80.sci
@@ -0,0 +1,11 @@
+clc;
+clear all;
+disp("Maximum temperature")
+L=1;//m thickness of slab
+qg=500;// W/m^3
+k=25;// W/(m*C)
+t1=350;// degree C
+// Maximum temperature at x =0
+x=0;
+Tmax=qg*L*L(1-(0.5*x)^2)/(2*k)+t1;// degree C
+disp("degree C",Tmax,"Maximum temperature at x = 0, Tmax =")