summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.22/Ex5_22.sce
blob: d76ab3b178fba41673688cd80958afe3d1468799 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
R0=5                    //ohm
R100=5.23                  //ohm
Rt=5.795                   //ohm

//Calculation
t=((Rt-R0)/(R100-R0))*100

//Result
printf("\n The temperature of the bath is  %0.2f  degree C",t)