summaryrefslogtreecommitdiff
path: root/24/CH19/EX19.1/Example19_1.sce
blob: fd30d3b803b2033d335dd65f0af74e8a0f87073a (plain)
1
2
3
4
5
6
7
8
9
10
11
//Given that
Bz = 65  //in degree Z
Fz = -14  //in degree Z
Tz = -98  //in degree Z
Bf = 212  //in degree F
Ff = 32  //in degree F

//Sample Problem 19-1
printf("**Sample Problem 19-1**\n")
Tf = (Tz - Fz)/(Bz - Fz) * (Bf - Ff) + Ff
printf("-98 degree Z is equal to %f degree Forenheit", Tf)