diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /965/CH7/EX7.26/26.sci | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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/CH7/EX7.26/26.sci')
-rw-r--r-- | 965/CH7/EX7.26/26.sci | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/965/CH7/EX7.26/26.sci b/965/CH7/EX7.26/26.sci new file mode 100644 index 000000000..529d73c82 --- /dev/null +++ b/965/CH7/EX7.26/26.sci @@ -0,0 +1,22 @@ +clc;
+clear all;
+disp("required tube length")
+ti=60;// degree C
+d=1/100;//m diameter of tube
+ta=40;//degree C
+t=45;//degree C
+rho=865;//kg/m^3
+k=0.14;// W/m.K
+cp=1780;//J/kg.C
+U=3;//m/s
+Nu=3.657
+Af=%pi*d^2/4;// m^2 flow area
+m=rho*Af*U;
+Q=m*cp*(ti-t);
+h=Nu*k/d;// W/m^2.K
+t1=ti-ta;
+t2=t-ta;
+tm=(t1-t2)/log(t1/t2);// degree C
+//A=%pi*d*L
+L=Q/(h*%pi*d*tm);
+disp("m",L,"Required tube length is L =")
|