diff options
Diffstat (limited to '965/CH2/EX2.12')
-rw-r--r-- | 965/CH2/EX2.12/12.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/965/CH2/EX2.12/12.sci b/965/CH2/EX2.12/12.sci new file mode 100644 index 000000000..da627203f --- /dev/null +++ b/965/CH2/EX2.12/12.sci @@ -0,0 +1,10 @@ +clc;
+clear all;
+disp("1-D heat flow")
+disp("Fourier''s equation: q = -k*dt/dx")
+disp("k=k0*(1+at+bt^2)")
+disp("q = k0*(1+at+bt^2)*dt/dx")
+disp("q.dx = k0*(1+at+bt^2)*dt")
+disp("integrating above equation within limits t1 to t2")
+disp("the required expression is, q = -k*(t2-t1)*(1+a*(t1+t2)/2+b*(t1^2+t2^2+t1*t2)/3)/L")
+
|