Question: MATLAB language 5. You are given the following data, which represents the number of bacteria NB measured at different times t. t(hr) NB 1 2000
MATLAB language
5. You are given the following data, which represents the number of bacteria NB measured at different times t.
t(hr) NB
1 2000
2 4500
3 7500
4 15000
5 31000
6 64000
Assume that the first column corresponds to the independent variable. Compute a cubic fit for the data using interpolation techniques. Assume an appropriate finer interval for this purpose. Also, find the rate of growth of the bacteria for each time interval. Plot all three on the same graph against time, with the original data being plotted as red circles. Give appropriate titles and labels for the graph. Include a boxed legend. [3.5 marks] Use this fit to estimate the number of bacteria after 6 hours. Print this value. [1 mark] What was the maximum growth rate and during which time interval was this achieved? Print these values. [1.5 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
