blob: 9fc2b6a950e0068eae5f6acf0bc3c37dcb697639 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Finding resistance
//Example 2.2(pg. 21)
clc
clear
R20=400// in ohms
k0=0.0038
t=20,T=80//degree C
k1=k0/(1+(k0*t))
R80=R20*{1+k1*(T-t)}
printf('The value of Resistance at 80 degree C is %3.4f ohms',R80)
|