# MATLAB code for Bisection method

How to run the code: 1. Download the m file and open it in MATLAB. 2. Now there are 6 input arguments and minimum 3 argument is required to run the program. 3. First one is function. You can write the function as below func=inline(‘-0.5*x^2+2.5*x+4.5’); or func=@(x) -0.5*x^2+2.5*x+4.5; 4. Third and fourth xl and xu which […]