summaryrefslogtreecommitdiff
path: root/965/CH2/EX2.12
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /965/CH2/EX2.12
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '965/CH2/EX2.12')
-rw-r--r--965/CH2/EX2.12/12.sci10
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")
+