summaryrefslogtreecommitdiff
path: root/2345/CH2/EX2.5/Ex2_5.sce
blob: e780e415d06846c594b13bd598ecf518322ef068 (plain)
1
2
3
4
5
6
7
8
9
//Finding resistance
//Example 2.5(pg. 23)
clc
clear
R0=80//in ohms
t=40// in degree C
k0=0.0043
R40=R0*(1+(k0*t))
printf('The value of Resistance at 40 degree C is %3.2f ohms',R40)