summaryrefslogtreecommitdiff
path: root/2345/CH2/EX2.13/Ex2_13.sce
blob: 9f1832bb5fa7734a15881209aaed02d56272a1ff (plain)
1
2
3
4
5
6
7
8
9
//finding temperature
//Example 2.13(pg. 26)
clc
clear
RT=144,R20=10// in ohms
t=20// in degree C
k20=5*(10^-3)//temp coefficient at 20 degree C
T={[(RT/R20)-1]/k20}+t
printf('The value of temp required for tungsten bulb is %4.2f degree C',T)