Question: this is in Matlab using bracketing, i have done number 1, these are all using individual function files, each one should take in 3 inputs,
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 positio 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
