diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH11/EX11.5/Ex11_5.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2510/CH11/EX11.5/Ex11_5.sce')
-rwxr-xr-x | 2510/CH11/EX11.5/Ex11_5.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2510/CH11/EX11.5/Ex11_5.sce b/2510/CH11/EX11.5/Ex11_5.sce new file mode 100755 index 000000000..d2c3cfd5b --- /dev/null +++ b/2510/CH11/EX11.5/Ex11_5.sce @@ -0,0 +1,11 @@ +//Variable declaration: +T1 = 1500.0+460.0 //Absolute temperature 1 (°R) +T2 = 1000.0+460.0 //Absolute temperature 2 (°R) + +//Calculation: +X = T1**4/T2**4 //Ratio of quantity of heat transferred +x = 100*(T1**4-T2**4)/T2**4 //Percentage increase in heat transfer (%) + +//Result: +printf("The ratio of the quantity/rate of heat transferred is : %.2f .",X) +printf("The percentage increase in heat transfer is : %.0f %%",x) |