Question: another matlab question. root- finding. did not get much information just what i posted. Study the roots of f(x) = exp(sin(x)) + log(x) - 2
Study the roots of f(x) = exp(sin(x)) + log(x) - 2 with the Newton method. Find at least two different roots to decimal places of accuracy. (a) Plot the function f(t) over a suitable r and y range. (5 marks) (6) Provide a pseudocode for the Newton method. It should correspond to your Matlab program code. (5 marks) (c) Create a Matlab function for the Newton method. It must satisfy the following criteria: fi) Resides. Give at least two different roots and typical starting values and numbers of iterations to obtain them; If there are starting values that do not lead to convergence (max. allowed iterations 100), comment on them 5 marks fi) 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 inpati internal and output variables (marks Study the roots of f(x) = exp(sin(x)) + log(x) - 2 with the Newton method. Find at least two different roots to decimal places of accuracy. (a) Plot the function f(t) over a suitable r and y range. (5 marks) (6) Provide a pseudocode for the Newton method. It should correspond to your Matlab program code. (5 marks) (c) Create a Matlab function for the Newton method. It must satisfy the following criteria: fi) Resides. Give at least two different roots and typical starting values and numbers of iterations to obtain them; If there are starting values that do not lead to convergence (max. allowed iterations 100), comment on them 5 marks fi) 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 inpati internal and output variables (marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
