summaryrefslogtreecommitdiff
path: root/3648/CH11/EX11.4/Ex11_4.sce
blob: 6a014f6f586bd0d5410383504a446e1252c59c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 11_4
clc();
clear;
//To findout the specific heat capacity of the metal
m=400      //Units in gm
c=0.65       //Units in Cal/gm Centigrade
tf=23.1     //Units in Centigrade
to=18     //Units in Centigrade
oil=m*c*(tf-to)       //units in cal
m1=80      //Units in gm
tf=23.1     //Units in Centigrade
to=100     //Units in Centigrade
cm=m1*(tf-to)       //units in in terms of cm and gm Centigrade
cmm=oil/-cm          //Units in Cal/gm Centigrade
printf("The specific heat of metal is Cm=%.3f cal/gm C",cmm)