PLEASE ONLY ANSWER WITH MATLAB CODE
1. Define the function y(x) = tan(x) and
determine the positive root nearest zero via false position
down to 0.1% relative error.
A. Redo the same problem using the bisection
method.
B. Which of the methods converged quicker for the given
function, and why?
C. Solve the same root problem using the Newton-Raphson
algorithm.
D. Solve the same root problem using the secant
method.
E. Solve the same root problem using the built-in fzero
function.
PLEASE ONLY ANSWER WITH MATLAB CODE 1. Define the function y(x) = tan(x) and determine the positive root nearest zero
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am