Description
Nonlinear_equations
i. Open the colab file shared in BUX. ii. Create a copy of that shared file. iii. Rename the colab filename using the format Name-ID-Lab Section
Lab Introduction
Part 1: Polynomial Root Finding Using Bisection Method
[Task 1] – 4 marks
You have to complete the code to iterate and solve for a root of the following equation, between the interval, [−0.5,1.3] : f(x)=2 + 0. 5𝑥 − 6𝑥2 − 2𝑥3 + 2. 5𝑥4 + 𝑥5.
You will have to remove the “raise NotImplementedError()” .
Part 2: Fixed Point Iteration
[Task 2] – 4 marks
You have to complete the code by using a couple of g(x) functions to find out which one converges faster.
You will have to remove the “raise NotImplementedError()” .
[Task 3] – 2 marks
Problem related to Interval Bisection method: Consider the following function: f(x) = 𝑥3 + 𝑥2 − 25𝑥 − 25. Use interval bisection method to find the root, x∗ of f(x), on the interval [−4, 3], where the error bound, δ = 10-2.
Reviews
There are no reviews yet.