Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a) In Matlab, use the function bisect in the file bisect.m to calculate roots of the following functions: f1(x) = x^2 5*cosx/3 in [0.5, 4]
a) In Matlab, use the function bisect in the file bisect.m to calculate roots of the following functions:
f1(x) = x^2 5*cosx/3 in [0.5, 4] with max = 0.5 106
f2(x) = tanx/2 x in [1, 3] with max = 0.5 104
f3(x) = 50x*lnx 3x^2 in [50, 100] with max = 0.5 103
Determine each root with a maximum absolute error max and print the intermediate results.
(b) Use Matlabs zero function to solve the equations from (a) with a high precision. Compare the results.
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