NEWTON'S METHOD:
Formula:
Xn+1= Xn - (F(Xn) / F'(Xn))
find the approximate root of 2X3-6X-10 upto three iteration
Let F(X)=2X3-6X-10
F'(X)=2(3X2 )-6
=6X2-6
F(0) =2(0)-6(0)-10
=-10
F(1)=2(1)-6(1)-10
= -14
F(2)=2(23)-6(2)-10
= -6
X0 = -4 [ F2 is closer to -4 because 2 to -6 I am taking middle value]
First iteration:
X1= -4 -(-6/90) (substitute x0 value in above formula)
= -4+9.0667
= 5.0667
Second iteration:
X2= 5.0667 - ( (2(5.0667)3-6(5.0667) -10) / (6(5.0667)2-6))
= 5.0667 - ((20.2668-30.4002-10) /(35.4669-6))
= 5.0667 - (20.1334 / 35.4669)
= 4.499
Third iteration:
X3 =4.499 - ((2(4.499)3-6(4.499)-10) / (6(4.499)2-6))
=4.499 - ((182.129-26.994-10) / (121.446-6))
= 4.499 -(145.135 /115.446)
= 4.499 - 1.258
= 3.241
Problem #1: (15 points) Find a root of 2x3-6r-10 0 Show the results for three iterations...
3. Find the positive root of In(x²) = 0.7 20-points a) Using three iterations of the bisection method with initial guesses of Xi on method with initial guesses of x = 0.5 and Xu 2, and b) Using three iterations of the Secant method, with the same initial guesses as in .
Write the algorithm method for finding the root of the equation f(x)= x^2+4x^2-10=0. Show your iterations to a tolerance of 10^-3 starting with Po=2
1. 10 points Find the positive solution of the equation cosx=0.3x (ie. the positive root of cosx-03x=0) using the bisection method with [0, 2] chosen as the initial interval. (a) Perform the first 3 iterations by hand and calculate the relative error for the last iteration; (b) Write a MATLAB code to find the root. The solution will be considered satisfactory if its relative error is smaller than 1%. Plot the relative error vs the number of iterations (must be...
PLEASE explain and show work? 5. (30 points) Use the secant method to find a root of the following equation with two initial guesses xo 2.x1 1.8. Please show the first two iterations only. f(x) = 1-x + sin(x)
2. A comparative problem: Determine the highest real root of flx)-2x3-11.7x'+17.7x-5 You will achieve this by performing 3 iterations of the following methods. In each case, calculate the approximate relative error at each iteration (a) The bisection method with starting guesses x 3 and u-4 (b) New Raphson method using Xo 3 as a starting guess. (c) Fixed point iteration usingx 3 as a starting guess but make sure that the method will work (see question 1.b above). (d) Which...
Q2. Use two iterations of the bisection method to find the root of f)10x2 +5 that lies in the interval (0.6, 0.8). Evaluate the approximate error for each iteration. (33 points)
3. (30 pts) (Problem 6.2) Determine the highest real root of f(x) 2x3- 11.7x2 + 17.7x -5 a) Graphically. b) Write a MATLAB program using the fixed-point method to determine the root with xo- Write a MATLAB program using the Newton-Raphson method to determine the root with Xo-3. c) d) Write a MATLAB program using the secant method to determine the root with x-1-3 and Xo- 4. e) Compare the relative errors between these three methods at the third iteration...
Problem 4 (programming): Create a MATLAB function named mynewton.m to estimate the root for any arbitrary function f given an initial guess xo, an absolute error tolerance e and a maximum number of iterations max.iter. Follow mynewton.m template posted in homework 2 folder on TritonED for guidance. You are not required to use the template. The function should return the approximated root n and the number of steps n taken to reach the solution. Use function mynewton.m to perform the...
2) (15 points) a) Determine the roots of f(x)=-12 – 21x +18r? - 2,75x' graphically. In addition, determine the first root of the function with b) bisection and c) false-position. For (b) and (c), use initial guesses of x, =-land x, = 0, and a stopping criterion of 1%. 3) (25 points) Determine the highest real root of f(x) = 2x – 11,7x² +17,7x-5 a) Graphically, b) Fixed-point iteration method (three iterations, x, = 3) c) Newton-Raphson method (three iterations,...
this is numerical analysis QUESTION 1 (a) Apart from 1 = 0 the equation f(1) = x2 - 4 sin r = 0 has another root in (1, 2.5). Perform three (10) iterations of the bisection method to approximate the root. State the accuracy of the root after the three iterations. (b) Perform three iterations of Newton's method for the function in (a) above, using x) = 1.5 as the initial (10) solution. Compare the error from the Newton's approximation...