Question: 2 Root-finding (25 marks) Study the roots of }(x) = exp(sin(x)) + log(x) - 2 with the Newton method. Find at least two different roots

 2 Root-finding (25 marks) Study the roots of }(x) = exp(sin(x))

2 Root-finding (25 marks) Study the roots of }(x) = exp(sin(x)) + log(x) - 2 with the Newton method. Find at least two different roots to 4 decimal places of accuracy. (a) Plot the function f(x) over a suitable r and y range. (5 marks) 1 (b) Provide a pseudocode for the Newton method. It should correspond to your Matlab program code (5 marks) (cy Create a Matlab function for the Newton method. It must satisfy the following criteria: (1) Results. Give at least two different roots and typical starting values and numbers of iterations to obtain them: I there are starting values that do not lead to convergence (max. allowed iterations = 100). comment on them. (5 marks i Working code and programming style. The results should be computed from a correct implementation and execution of the algorithm. For full marks the code should be readable and efficient and should contain a general treatment of input, internal and output variables

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!