summaryrefslogtreecommitdiff
path: root/995/CH2/EX2.15/Ex2_15.sce
blob: f1f2e3d28144be84069fcc6a7ff8461f4fea26fd (plain)
1
2
3
4
5
6
7
8
9
//Ex:2.15
clc;
clear;
close;
temp_coeff=0.001;//in per degree centigrade
r_o=1500;//in ohm
t=80;//temperature diff.
r_t=r_o*(1+(temp_coeff)*t)
printf("Resistance at %d degree = %d ohms",t,r_t);