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 /587/CH1/EX1.5 | |
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 '587/CH1/EX1.5')
-rwxr-xr-x | 587/CH1/EX1.5/example1_5.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/587/CH1/EX1.5/example1_5.sce b/587/CH1/EX1.5/example1_5.sce new file mode 100755 index 000000000..23b1602a8 --- /dev/null +++ b/587/CH1/EX1.5/example1_5.sce @@ -0,0 +1,20 @@ +clear;
+clc;
+
+//Example1.5 (The cost of Heat loss through a Roof)
+
+//(a)
+k=0.8;//The thermal conductivity of the roof[W/m.degree.C]
+A=6*8;//Area of the roof[m^2]
+t1=15;//temperature of inner surface roof[degree C]
+t2=4;//temperature of outer surface roof[degree C]
+L=0.25;//thickness of roof[m]
+Q_=k*A*(t1-t2)/L;//[W]
+disp("W",Q_,"The steady rate of heat transfer through the roof is")
+
+//(b)
+dt=10;//time period[h]
+Q=Q_*dt/1000;//[kWh]
+u_cost=0.08;//Unit cost of energy[$/kWh]
+Cost=Q*u_cost;//[$]
+disp(Cost,"and its cost is $","kWh",Q,"The amount of heat lost through the roof")
|