blob: f6597a8d30e4ee7773438df53044ab71d557a8eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Example number 10.9, Page number 227
clc;clear;
close;
//Variable declaration
Tc1=5; //critical temperature(K)
P1=1; //pressure(mm)
P2=6; //pressure(mm)
//Calculation
Tc2=Tc1*P2/P1; //critical temperature(K)
//Result
printf("critical temperature is %.f K",Tc2)
|