Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I grow bacteria cultures for the lab. I hate my job. My bacteria grow according to this initial value problem: v = Ky 1-180 y0)
I grow bacteria cultures for the lab. I hate my job. My bacteria grow according to this initial value problem: v = Ky 1-180 y0) = 1 The growth constant K ranges from 0 to 1 and depends on the quality of the agar in the petri dish. I need to have a population of 95 in eight hours. The file odesolve.m on will take a value for K as an input, will solve the differential equation numerically, and will return the population at time t = 8 hours. Write a file that calls odesolve.m in a while loop in order to determine the smallest possible value of K that will allow me to grow enough bacteria. Start K at 0.001 and increment it by 0.001 until the correct value is reached. Note: You cannot run this in your own version of Matlab. The function odesolve is not a built-in function, it's one that I wrote and attached to this grader problem. Since you don't have your own copy, you can't save it to your machine. But, you can see how to use the function by typing help odesolve in Matlab grader and running the script (without using a submission). Script Reset E MATLAB Documentation 1 help odesolve % tells you how to use inputs and outputs of odesolve Run Script Assessment: Submit (Attempt 1 of 10) correct K I grow bacteria cultures for the lab. I hate my job. My bacteria grow according to this initial value problem: v = Ky 1-180 y0) = 1 The growth constant K ranges from 0 to 1 and depends on the quality of the agar in the petri dish. I need to have a population of 95 in eight hours. The file odesolve.m on will take a value for K as an input, will solve the differential equation numerically, and will return the population at time t = 8 hours. Write a file that calls odesolve.m in a while loop in order to determine the smallest possible value of K that will allow me to grow enough bacteria. Start K at 0.001 and increment it by 0.001 until the correct value is reached. Note: You cannot run this in your own version of Matlab. The function odesolve is not a built-in function, it's one that I wrote and attached to this grader problem. Since you don't have your own copy, you can't save it to your machine. But, you can see how to use the function by typing help odesolve in Matlab grader and running the script (without using a submission). Script Reset E MATLAB Documentation 1 help odesolve % tells you how to use inputs and outputs of odesolve Run Script Assessment: Submit (Attempt 1 of 10) correct K
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started