summaryrefslogtreecommitdiff
path: root/24/CH43/EX43.9/Example43_9.sce
blob: 00aa9f2af0a19ba1fb5adbe7be2a96227f58c871 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Given that
dose = 3  //in J/kg
c = 4180  //in J.kg/K
m = 1  //(say)

//Sample problem 43-9
txt = mopen('Example43_9_result.txt','wt')
mfprintf(txt, '**Sample Problem 43-9**\n')
deltaT = (dose/m)/c
mfprintf(txt, 'The change in temprature of the body is %eK', deltaT)
mclose(txt)