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.2 | |
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.2')
-rwxr-xr-x | 587/CH1/EX1.2/example1_2.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/587/CH1/EX1.2/example1_2.sce b/587/CH1/EX1.2/example1_2.sce new file mode 100755 index 000000000..5bf339169 --- /dev/null +++ b/587/CH1/EX1.2/example1_2.sce @@ -0,0 +1,19 @@ +clear;
+clc;
+
+//Example 1.2(Heating of water in an Electric Teapot)
+//Mass of liquid water
+m1=1.2,m2=0.5;//[Kg]
+//Initial Temperature
+t1=15;//[Degree Celcius]
+//Final Temperature
+t2=95;//[Degree Celcius]
+//Specific heat of water
+cp1=4.186;//[kJ/kG.K]
+//Specific heat capacity of teapot
+cp2=.7;//[]
+Em=(m1*cp1*(t2-t1))+(m2*cp2*(t2-t1));//[kJ]
+//Rating of Electric Heating Equipment
+Em1=1.2;//[kJ/s]
+dt=(Em/Em1)/60;//[seconds]
+disp("minutes",round(dt),"of heat is","kJ",Em,"Time needed for this heater to supply ")
\ No newline at end of file |