Programming language

Use you favorite programming language to code the following problem. Please upload the pdf file of the code, output and the plots in D2l. The fourth-degree polynomial f(x) = 230x 4 + 18x 3 + 9x 2 −221x−9 has two real zeros, one in [-1, 0] and the other in [0, 1]. Attempt to approximate these zeros to within 10−6 using the a. Method of False Position b. Secant method c. Newton’s method Use the endpoints of each interval as the initial approximations in (a) and (b) and the midpoints as the initial approximation in (c)(Initial guess to start with).

Sample Solution

ACED ESSAYS