summaryrefslogtreecommitdiff
path: root/569/CH5/EX5.21/5_21.sci
blob: 6cbb7a6699b70e82db81140006b8be2580360e3d (plain)
1
2
3
4
5
6
7
// Calculate the resistance 
clc;
R25=100;
ath=-0.05;
dth=35-25;
R35=R25*[1+ath*dth];
disp(R35,'resistance at 35 degree C(ohm)=')