Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A = bacteria_count(C, r, K, t) %bacteria_count accepts inputs and outputs bacteria population % Four input variables are used in the following equatio BacteriaPop =(C.*exp(r.*t))./(1+(C./K).*exp(r.*t));

image text in transcribed

A =

bacteria_count(C, r, K, t) %"bacteria_count" accepts inputs and outputs bacteria population % Four input variables are used in the following equatio BacteriaPop =(C.*exp(r.*t))./(1+(C./K).*exp(r.*t));

B =

function bacteria_plot() r=1; C=100; tval=[0:1:20]; Kval=[1000,3000,5000];

for i=1:length(Kval) K=Kval(i); for j=1:length(tval) t=tval(j); population(j)=bacteria_count(C,r,K,t); % find the population for given t end hold on plot(tval,population); % plot the time vs population for some constant K end

legend('K=1000','K=3000','K=5000'); % legend of plots title('Model of Population of bacteria'); % title of the plot xlabel('Time'); % x-axis label ylabel('Population'); % y-axis label

Could someone help with part c and d.

Sam, a biological engineer, is modelling the population of bacteria (B) grow ing on petri dish. Sam observes that the growth over time of the bacteria fits the equatiorn Cert 1. (AMS Submission) Write a MATLAB function that accepts four inputs C, r, K and t and outputs bacteria population. The function should work given t is a scalar or a vector. You may assume that all other inputs are scalars. 2. (AMS Submission) By setting r = 1, C-100 and t-0 : 20, plot the bacteria growth for K-1000, K 3000, and K-5000. What does K represent? 3. Sam starts with 500 bacteria in his petri dish. Seven days later, the number of cells has doubled. Given that the petri dish can support a maximum of 9000 cells, calculate the values of C, r and K. Plot the solution and comment whether the plot matches Sam's observations. 4. (AMS Submission) Assume that each time bacteria is grown, Sam records the initial bacteria population, the time it takes for the initial population to double, and the final (maximum) population. Create a function that will tell Sam the values of C, r and K

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions