blob: c38be1847b490e4c56fc2805a04a834ec4264279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
//initialisations
m1=0.5//kg
m2=0.09//kg
t1=19//c
t2=15//c
t3=38//c
t4=50//c
s=1000
//CALCULATIONS
A=[4000 -15.5; 23000 11.5]
b=[-360;1080]
c=A\b
R1=c(1,1)
R2=c(2,1)
//results
printf(' water equivalent of mercury= % 1f kg',R1)
printf(' \n specific heat of mercury= % 1f c /kg/c',R2)
|