summaryrefslogtreecommitdiff
path: root/2465/CH5/EX5.12/Ex5_12.sce
blob: 608882bf0058cafb58521bc9c8d52bee1d30b376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Chapter-5,Example 12,Page 126
clc();
close();

a1=100

x1=1

t1=1

k=2.303*log10(a1/(a1-x1))/t1

t2=60    //time in minutes

a2=100 

//assume (a2-x2)= y

y= 1/(10^(k*t2/2.303)/a2)

printf('the undecomposed is %.2f ',y)

//mistake in textbook