summaryrefslogtreecommitdiff
path: root/2096/CH1/EX1.18.a/ex_1_18_a.sce
blob: 64305c640f4732758e04ecd5cacf899d7042be05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

//Example 1.18.a// what will be the reading of the thermometer after 1.2 seconds.
clc;
clear;
close;
//given data :
Iin=160; // in celcius
t1=1.2; // in seconds
t2=2.2;// in seconds
I=20; // in celcius
Io=Iin*(1-(exp(-t1/t2)));
disp(Io,"thermometer reading,Io(degree celcius) = ")