Question: MATLAB exercise The function gk(x)=xktan(x) has a root in the interval [1/5,1] whenever k[4,3/5]. Note: these are not necessary conditions on k. Write a function
MATLAB exercise
![MATLAB exercise The function gk(x)=xktan(x) has a root in the interval [1/5,1]](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de2235bffd5_78166de22352e56f.jpg)
![whenever k[4,3/5]. Note: these are not necessary conditions on k. Write a](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de2236770c4_78266de2236048e5.jpg)


![number in [4,3/5] - tol = a positive parameter to control the](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de223863dec_78366de2237ee064.jpg)
The function gk(x)=xktan(x) has a root in the interval [1/5,1] whenever k[4,3/5]. Note: these are not necessary conditions on k. Write a function my_root that computes this root of gk using the provided bisection method code. Your function should accept the following inputs: - k= a number in [4,3/5] - tol = a positive parameter to control the size of gk Your function should return the following output: - x= computed root estimate of gk found in the interval [1/5,1], such that gk(x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
