summaryrefslogtreecommitdiff
path: root/1301/CH9/EX9.19/ex9_19.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1301/CH9/EX9.19/ex9_19.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1301/CH9/EX9.19/ex9_19.sce')
-rwxr-xr-x1301/CH9/EX9.19/ex9_19.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1301/CH9/EX9.19/ex9_19.sce b/1301/CH9/EX9.19/ex9_19.sce
new file mode 100755
index 000000000..3e5fa21fb
--- /dev/null
+++ b/1301/CH9/EX9.19/ex9_19.sce
@@ -0,0 +1,9 @@
+clc;
+m=0.8; //mass of water in kg
+c=4185; //specific heat in J/kg.celcius
+delT=100-20; //change in temperature in celcius
+Q=m*c*delT; //calculating heat required in Joule
+P=10^3; //Power in J/sec
+t=Q/P; //calculating time using P=(Q/t)
+disp(t,"Time required to raise temperature to 100 degree celcius in second = "); //displaying result.
+disp(t/60,"Time in minutes = "); //displaying result. \ No newline at end of file