blob: f447decf7ab50b51798def034db435d8349e1e50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clear
//
//given
v=250
i=5
i1=3.91
t0=0.00426 //temperature coefficient
r15=v/i //at 15 degrees
rt=v/i1 //at t degrees
l=(rt*(1+t0*15))/50 //left hand side
t=(l-1)/t0
printf("\n t= %0.1f centigrade",t)
|