summaryrefslogtreecommitdiff
path: root/3753/CH3/EX3.11/Ex3_11.sce
blob: eb34a609cb60b33da4b385ba2b955524e46b9780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example number 3.11, Page number 6.36

clc;clear;close

// Variable declaration
Tc1=4.185 // K
M1=199.5// unitless
M2=203.4// unitless

// Calculations
Tc2=Tc1*(M1/M2)**(1/2) // in K

// Result
printf("New critical temperature for mercury = %0.3f K",Tc2)