need a matlab script to show this
MATLAB CODE
clc;
clear all;
count=0;
format long
a=0;
b=2;
while abs(a-b)>10^(-8)
f=inline('sqrt(x)-1.1');
c=(a+b)/2;
count=count+1;
if f(a)*f(c)<0
b=c;
elseif f(b)*f(c)<0
a=c;
else
disp('root of the function is ');
c
iterations=count
return
end
end
disp('root of the function is ');
c
iterations=count
ANSWERS
root of the function is
c =
1.210000000894070
iterations =
28
need a matlab script to show this 1. Apply the bisection routine bisect to find the...
i need the answer to be on a MatLab window 1. Consider the following equation, which represents the concentration (c, in mg/ml) of a drug in the bloodstream over time (t, in seconds). Assume we are interested in a concentration of c2 mg/ml C3te-0.4t A. Estimate the times at which the concentration is 2 mg/ml using a graphical method Be sure to show your plot(s). Hint: There are 2 real solutions B. Use MATLAB to apply the secant method (e.g....