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 /2192/CH4/EX4.4/4_4.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 '2192/CH4/EX4.4/4_4.sce')
-rwxr-xr-x | 2192/CH4/EX4.4/4_4.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2192/CH4/EX4.4/4_4.sce b/2192/CH4/EX4.4/4_4.sce new file mode 100755 index 000000000..7612dd32c --- /dev/null +++ b/2192/CH4/EX4.4/4_4.sce @@ -0,0 +1,16 @@ +clc,clear
+printf('Example 4.4\n\n')
+
+surface_area= 6 //surface area of tank
+l=sqrt(surface_area/6) //length of one side of tank
+volume=l^3
+m=6*90/100 * 1000 //mass of water to be heated daily in kilogram
+S=4200//specific heat of water
+t2=65;t1=20;//final and initial temperature
+heat=m*S*(t2-t1)*10^-6 /3.6 // heat required for raising the temperature in kWh
+losses =6.3*surface_area*(t2-t1)*24/1000 //losses from surface of tank 24 hours in kWh
+energy_supplied= heat+losses
+loading= energy_supplied/24 //in kW
+printf('Loading = %.1f kW\n',loading)
+efficiecny=100*heat/energy_supplied
+printf('Efficiency of tank = %.1f percent',efficiecny)
|