summaryrefslogtreecommitdiff
path: root/2741/CH1/EX1.5/5.sce
blob: f8ba87f809a90d81d5b8a6cd282101e65191e275 (plain)
1
2
3
4
5
6
7
8
9
10
clc
clear
//Input data
K=20.2;//The normal boiling point of liquid hydrogen in Kelvin

//Calculations
R=(((K-273)/100)*180)+492;//The normal boiling point of liquid hydrogen in degree Rankine

//Output data
printf('The boiling point of liquid hydrogen corresponding to 20.2 Kelvin is %3.2f degree Rankine',R)