summaryrefslogtreecommitdiff
path: root/1199/CH2/EX2.23/2_23.sci
blob: 7d213e958630844b8f06b004faaf2982352e3471 (plain)
1
2
3
4
5
6
7
8
9
// 2.23
clc;
Rth0=100;
ath0=0.00392;
dth=65-25;
R65=Rth0*[1+ath0*dth];
printf("resistance at 65 degree C= %.2f ohm ",R65)
th={[(150/100)-1]/ath0}+25;
printf("\n Temperature = %.2f degree C ",th)