summaryrefslogtreecommitdiff
path: root/1286/CH3/EX3.6/3_6.sce
blob: 2d062739a8617775625abdb8b9d6a978a64a0a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
//initialistions
t1=80//c
t2=50//c
t3=60//c
t4=30//c
t=20
e=5
//CALCULATIONS
k=2.3026*log((t1-t)/(t2-t))/e
T=2.3026*log((t3-t)/(t4-t))/k
//results
printf(' time it will take = % 1f min',T)