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 /3588/CH7/EX7.7/EX7_7.sce | |
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 '3588/CH7/EX7.7/EX7_7.sce')
-rw-r--r-- | 3588/CH7/EX7.7/EX7_7.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/3588/CH7/EX7.7/EX7_7.sce b/3588/CH7/EX7.7/EX7_7.sce new file mode 100644 index 000000000..08d49fea8 --- /dev/null +++ b/3588/CH7/EX7.7/EX7_7.sce @@ -0,0 +1,26 @@ +//Clearing console +clc +clear + +//Intializing variables +h = 50 +a = 0.5/12 +b = 0.5/12 +t = 0.5/12 +Ta = 68 +A = 4*a*b +T =[180.000000;180.000000;180.000000;106.528061;111.987760;106.528061;89.057755;90.986763;89.057755] + +T3 = [T(5,1);T(8,1);T(9,1);T(6,1)] + +//convective heat flow rate for element 3 due to different surfaces +I1 = (2*h*A)*(((T3(1,1)+T3(2,1)+T3(3,1)+T3(4,1))/4)-Ta) +I2 = 2*h*t*b*(((T3(2,1)+T3(3,1))/2)-Ta) +I3 = 2*h*t*b*(((T3(3,1)+T3(4,1))/2)-Ta) + +//The total convective heat flow rate for element 3 +H = I1+I2+I3 + + +printf('\nResults\n') +printf('\nThe total convective heat flow rate for element 3\nH=%fBtu/hr',H) |