Question: Please provide matlab and python code for each part . Important: Show all the details of your solutions. Use MATLAB and Python to confirm your
Please provide matlab and python code for each part

. Important: Show all the details of your solutions. Use MATLAB and Python to confirm your solutions. Put MATLAB and Python commands and results after each question. 3.2 Determine the root of f(x) = x -2e-* by: (a) Using the bisection method. Start with a = 0 and b= 1, and carry out the first three iterations. (6) Using the secant method. Start with the two points, xy = 0 and x2 = 1, and carry out the first three iter- ations. (c) Using Newton's method. Start at x= 1 and carry out the first three iterations. Total Grade: 40 pts Mathematical Work: 30 pts (10 pts for each part) MATLAB Work: 15 pts (5 pts for each part) Python Work: 15 pts (5 pts for each part) . The equation 1.2.x2 + 2x2 - 20x - 10 = 0 has a root between x = -4 and x = -5. Use these values for the initial two points and calculate the next four estimates for the solution using the secant method. Total Grade: 20 pts . Mathematical Work: 10 pts MATLAB Work: 5 pts Python Work: 5 pts 3.8 Find the root of the equation Vx+r2 = 7 using Newton's method. Start at x = 7 and carry out the first five iterations. Total Grade: 20 pts . . Mathematical Work: 10 pts MATLAB Work: 5 pts Python Work: 5 pts . Important: Show all the details of your solutions. Use MATLAB and Python to confirm your solutions. Put MATLAB and Python commands and results after each question. 3.2 Determine the root of f(x) = x -2e-* by: (a) Using the bisection method. Start with a = 0 and b= 1, and carry out the first three iterations. (6) Using the secant method. Start with the two points, xy = 0 and x2 = 1, and carry out the first three iter- ations. (c) Using Newton's method. Start at x= 1 and carry out the first three iterations. Total Grade: 40 pts Mathematical Work: 30 pts (10 pts for each part) MATLAB Work: 15 pts (5 pts for each part) Python Work: 15 pts (5 pts for each part) . The equation 1.2.x2 + 2x2 - 20x - 10 = 0 has a root between x = -4 and x = -5. Use these values for the initial two points and calculate the next four estimates for the solution using the secant method. Total Grade: 20 pts . Mathematical Work: 10 pts MATLAB Work: 5 pts Python Work: 5 pts 3.8 Find the root of the equation Vx+r2 = 7 using Newton's method. Start at x = 7 and carry out the first five iterations. Total Grade: 20 pts . . Mathematical Work: 10 pts MATLAB Work: 5 pts Python Work: 5 pts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
