Write an m-file to solve an equation with the bisection


Write an M-file to solve an equation with the bisection method and with the secant method to a desired accuracy precision.

Request upper and lower limits for bisection (you may assign a step size or request an input value)

Request the first guess value and precision desired for the secant method.

Create a sub-function to calculate the function value.

Create a sub-function to calculate the slope/secant value.

(You may create functions for the two methods if you desire but it is not required for your grade)

Name the file (and function) using your username and submit to this assignment to WebHW under assn3.

Request for Solution File

Ask an Expert for Answer!!
Mechanical Engineering: Write an m-file to solve an equation with the bisection
Reference No:- TGS0959160

Expected delivery within 24 Hours