A In many applications involving chemical processes the expe
A In many applications involving chemical processes, the experi- mental data follows an s-shaped curve as in Figure 5.33, where the data approaches a steady-state value of 1. The following table contains one such set of data. For these cases, curve fitting is done by approximating the s-shaped curve by y = 1 + Art, where A
Solution
>> t= [0.5,1:1:4,6:1:10]
t =
0.5000 1.0000 2.0000 3.0000 4.0000 6.0000 7.0000 8.0000 9.0000 10.0000
>> y=[0.4,0.5,0.7,0.8,0.9,0.95,0.96,0.97,0.98,0.99]
y =
0.4000 0.5000 0.7000 0.8000 0.9000 0.9500 0.9600 0.9700 0.9800 0.9900
>> t= [0.5,1:1:4,6:1:10];
y=[0.4,0.5,0.7,0.8,0.9,0.95,0.96,0.97,0.98,0.99];
plot(t,y)
