summaryrefslogtreecommitdiff
path: root/1151/CH1/EX1.51/example51.sce
blob: ec240bdfa088141887abde461fe1e54b81d1da51 (plain)
1
2
3
4
5
6
printf("\n A thermometer has time constant =15.33sec\n its quickly taken from 0 (degree C) to water bath having a temperatur 100(degree C)\n find the temperature indicated after 60 sec ");
printf("temperature indicated by thermometer can be given as =100*(1-e^-(t/T))");
T=15.33;
t=60;
h=100*(1-%e^-(t/T));
disp(h,"temperature indicated by thermometer(in degree C)) after 60 seconds=")