Question & Answer: The Monod equation describes the rate at which a microorganism grows (mu [hr^-1]) as a function of th…..

I need this in Matlab just Matlab please
The Monod equation describes the rate at which a microorganism grows 4/hr) as a function of the concentration of nutrient in the growth medium (s [gMD-t. is the maximum growth rate (when there is an unlimited supply of nutrient) and K, is the growth medium concentration when the growth rate is half its maximum value. As the concentration of the growth medium declines (ie. as it gets used up), the microorganism growth rate slows down. K,+s 08t .. .1 04 2 0 a) Write a Matlab script which uses a finite divided difference approximation to estimate the rate of change in growth rate (i.e. the slope, duds or μ) at a substrate concentration of 1 g/L Plot your estimates for μb = 1 g/l) as you reduce the step size (As) by factors of 10 from 0.1 to 10. (i.e. 0.1,0.01. 0.001,. 10) Use a log scale on the x-axis (Hint: Use Matlabs semilogx function). [3 points b) The true rate of change in growth rate at1g/s0.2222 1g.hr). Plot the True Relative Error as a function of step size on a log-log plot (Hint: Use Matlabs loglog function). Comment (in 1-2 sentences) on any trend you see. 3 points]

The Monod equation describes the rate at which a microorganism grows (mu [hr^-1]) as a function of the concentration of nutrient in the growth medium (s [g/l]). mu_max is the maximum growth rate (when there is an unlimited supply of nutrient) and K_s is the growth medium concentration when the growth rate is half its maximum value. As the concentration of the growth medium declines (i.e. as it gets used up), the microorganism growth rate slows down. mu = mu_max s/K_s + s a) Write a Matlab script which uses a finite divided difference approximation to estimate the rate of change in growth rate (i.e. the slope, d mu/ds or mu’) at a substrate concentration of 1 g/l. Plot your estimates for mu'(s = 1 g/l) as you reduce the step size (Delta s) by factors of 10 from 0.1 to 10^-7. (i.e. 0.1, 0.01, 0.001, …. 10^-7). Use a log scale on the x-axis b) The true rate of change in growth rate at 1 g/l is 0.2222 I/(g.hr). Plot the True Relative Error as a function of step size on a log-log plot. Comment (in 1-2 sentences) on any trend you see.

Expert Answer

 

a- if nargin ~= 2

Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: The Monod equation describes the rate at which a microorganism grows (mu [hr^-1]) as a function of th…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
Order Essay
        error('divdiff: invalid input parameters'); 
    end

    [ p, m ] = size(X); % m points, polynomial order <= m-1
    if p ~= 1 || p ~=size(Y, 1) || m ~= size(Y, 2)
        error('divdiff: input vectors must have the same dimension'); 
    end

    TDD = zeros(m, m);
    TDD(:, 1) = Y';
    for j = 2 : m
        for i = 1 : (m - j + 1)
            TDD(i,j) = (TDD(i + 1, j - 1) - TDD(i, j - 1)) / (X(i + j - 1) - X(i));
        end
    end

end

Still stressed from student homework?
Get quality assistance from academic writers!