summaryrefslogtreecommitdiff
path: root/3648/CH11/EX11.3/Ex11_3.sce
blob: 18a01e6c66b8642e14e41777fa4181091aabab9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 11_3
clc();
clear;
//To findout the amount of Ice that has to be added
m=200    //Units in gm
c=1      //Units in Cal/gm Centigrade
tf=60    //Units in Centigrade
to=98    //Units in Centigrade
change=m*c*(tf-to)     //units in Cal
tf=60 //Units in centigrade
to=0    //Units in centigrade
Hf=80    //Units in Cal/gm
change1=Hf+c*(tf-to)     //Units in Cal/gm
M=change/-(change1)
printf("The amount of ice that has to be added is M=%.1f gm",M)