Assignment_#2
Assignment_#2
Name: ID:
Q.1 Consider finding the root of f(x) = x2 – 3 in the interval [1, 2].
1. Compute the approximate roots of this equation using Bisection algorithm.
2. Find the absolute error at each step.
Q.2 Show that f(x) = e-x(3.2 sin(x) - 0.5 cos(x)) has a root in [3, 4],
1. Compute the approximate roots of this equation, with using False Position algorithm.
2. Find absolute relative approximate error at each step.
Q.3 Use Newton’s method to find the root of f(x)=x3-4x2-11x+30, given x1=10. Find the absolute error
at each step.
Q.4 Let the initial guess be 0.0 and 1.0, use Secant method to find the root of the following equation:
3x+sin(x)-exp(x). Find the absolute error at each iteration