summaryrefslogtreecommitdiff
path: root/1538/CH18/EX18.5/Ex18_5.sce
blob: 921407a589950915669dfd53f00ce53a4e15e55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//example-18.5 
//page no-548
//given
//resistance of wire at 70 degree celcius is 57.2 ohm and at 25 degrees celcius 50 ohm
R25=50  //ohm
R70=57.2  //ohm
T1=25    //degree C
T2=70  //degree C\
//as we know that
//Rt=R0*(1+t*alpha)
//putting above values in the above given equation we get
//R25=R0*(1+25*alpha)  -------(1)
//R70=R0*(1+70*alpha)  --------(2)
//applying R70/R25
//we get
//R70/R25=(1+70*alpha)/(1+25*alpha)
//solving for alpha we get equation as follows
alpha=(R70-R25)/(T2*R25-T1*R70)  //K^-1
printf ("the temperature coefficient of resistance is %f K^-1",alpha)