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 /2519/CH19/EX19.10 | |
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 '2519/CH19/EX19.10')
-rwxr-xr-x | 2519/CH19/EX19.10/Ex19_10.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2519/CH19/EX19.10/Ex19_10.sce b/2519/CH19/EX19.10/Ex19_10.sce new file mode 100755 index 000000000..0d2e3ccd3 --- /dev/null +++ b/2519/CH19/EX19.10/Ex19_10.sce @@ -0,0 +1,17 @@ +clc
+clear
+//Initialization of variables
+em=0.79
+sigma=0.1714
+T1=660 //R
+T2=540 //R
+T3=860 //R
+//calculations
+Q1=em*sigma*((T1/100)^4 -(T2/100)^4)
+Q2=em*sigma*((T3/100)^4 -(T2/100)^4)
+Qh1=129+Q1
+Qh2=419+Q2
+per=100*(Qh2-Qh1)/Qh1
+//results
+printf("Percentage change in total heat trasnfer = %.1f percent",per)
+disp("The answer in the textbook is a bit different due to rounding off error in textbook.")
|