Question: The Language is C and the software is MatLabs 1. (25 pts.) (Problem 5.1): Determine the real roots of f(x) = -0.6x2 + 2.4x +
The Language is C and the software is MatLabs

1. (25 pts.) (Problem 5.1): Determine the real roots of f(x) = -0.6x2 + 2.4x + 5.5 a) Graphically. b) Using the quadratic formula; c) Write a MATLAB function using the bisection method to determine the highest root. The function should take two inputs of X1, Xu, the max number of iterations, and output the root, estimated error, and true error. d) Employ initial guesses of xi = 5 and Xu = 10, call the function you write in part (c) to compute the estimated error and true error at 1st, 5th, 10th, and 30th iteration respectively. 1. (25 pts.) (Problem 5.1): Determine the real roots of f(x) = -0.6x2 + 2.4x + 5.5 a) Graphically. b) Using the quadratic formula; c) Write a MATLAB function using the bisection method to determine the highest root. The function should take two inputs of X1, Xu, the max number of iterations, and output the root, estimated error, and true error. d) Employ initial guesses of xi = 5 and Xu = 10, call the function you write in part (c) to compute the estimated error and true error at 1st, 5th, 10th, and 30th iteration respectively
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
