Question: Write a Matlab code to solve this problem using bisection method. Take your initial interval to be [0, 10]. Use the midpoint value of the

Write a Matlab code to solve this problem using bisection method. Take your initial interval to be [0, 10]. Use the midpoint value of the interval as your approximate results (e.g. t0 = 5). Name your code as bisection.m. At each iteration, your code should print (i) iteration number, (ii) approximated value of t, and (iii) approximate relative error. Print your code and the output of your code, and include them in your solutions.
(18 pts.) The concentration of pollutant bacteria c(t) in a lake decreases according to the following expression (unit is cfu/ml): c = 75e-1.5t + 20e-0.075t We'll use various methods to determine the time required for the bacteria concentration to be reduced to a safe level of 15 cfu/ml
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
