Question: This homework will require i) solving an equation using the Newton-Raphson method, ii) solving the same equation using the built in function fzero in MATLAB,

This homework will require i) solving an equation using the Newton-Raphson method, ii) solving the same equation using the built in function "fzero" in MATLAB, ii) solving the same equation using the built in function "fsolve" in MATLAB, and iv) plotting the function using "fplot" and showing its solution on the plot. Eq 1) solve: ln(x)-5x + 7 = 0 Eq2) solve: -x*+10 x3- 100 x2 500x100 0 Eq3) solve: sin (x) -5 cos(2x)0.4 0 For each equation- Write a script (or a function - the choice is up to you) that finds a root. Clearly specify where the initial guess is specified, or if you are writing a function, tell us what needs to be input and in what order. Use "fzero" to solve the equation Use "fsolve" to solve the equation Write a script (.m file) that uses fplot to plot the function. Separately, plot the function, and mark the solution on the plot and save it as a pdf. 1. 2. 3. 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
