Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!