summaryrefslogtreecommitdiff
path: root/3648/CH11/EX11.5/Ex11_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH11/EX11.5/Ex11_5.sce')
-rw-r--r--3648/CH11/EX11.5/Ex11_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3648/CH11/EX11.5/Ex11_5.sce b/3648/CH11/EX11.5/Ex11_5.sce
new file mode 100644
index 000000000..019754c12
--- /dev/null
+++ b/3648/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,15 @@
+//Example 11_5
+clc();
+clear;
+//To findout how long does the heater takes to heat
+m=500 //Units in gm
+c=0.033 //Units in Cal/gm Centigrade
+tf=357 //Units in Centigrade
+to=20 //Units in Centigrade
+m1=30 //Units in gm
+hv=65 //Units in cal/gm
+Hg=((m*c*(tf-to))+(m1*hv))*4.1808135 //units in Joules
+delivered=70 //Units in Joule/Sec
+t=Hg/delivered //Units in sec
+printf("The time taken is t=%d sec",t)
+//In textbook answer printed wrong as t=450 sec correct answer is t=448 sec