Question: have to do this by bracketing in Matlab 1. Create a function called fofx which has one output (y) and one input (x). The text
1. Create a function called fofx which has one output (y) and one input (x). The text of the function is as follows y=x^3+2x^2-111x+108 2. Create a function to calculate the root of function fofx (your code must call the other function, not hardcode the numbers) between 2 user defined inputs using bisection method. This function should tell the user if fofx for their inputs do not have the opposite sign. 3. Create a function to calculate the root of function fofx (your code must call the other function, not hardcode the numbers) between 2 user defined inputs using false position method. This function should tell the user if fofx for their inputs do not have the opposite sign
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
