Write a Newton method root-finding function. Remember that for the Newton methcnly need to give a single initial estimate, but you also need to supply the derivative. You can give both input function and its derivative as lambdas. 1. Use Newton's method to verify that the function h(x) = 4 tan-¹ x has a root at x = 0. 2. Try to find this root with a starting guess of xo = 1, and then with an starting guess of xo = 1.5. What goes wrong in the second case? 3. Now consider the function h(x) = x² - 2 (which clearly has a root at x = √2) with an initial guess of xo = 0. What is the problem?

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter7: Analytic Trigonometry
Section7.6: The Inverse Trigonometric Functions
Problem 91E
icon
Related questions
Question
Write a Newton method root-finding function. Remember that for the Newton methc' +nly
need to give a single initial estimate, but you also need to supply the derivative. You can give both
input function and its derivative as lambdas.
1. Use Newton's method to verify that the function h(x) = 4tan¯¹ x has a root at x = 0.
2. Try to find this root with a starting guess of xo = 1, and then with an starting guess of
Xx0 = 1.5. What goes wrong in the second case?
3. Now consider the function h(x) = x² – 2 (which clearly has a root at x = √2) with an initial
0. What is the problem?
guess of co
=
Transcribed Image Text:Write a Newton method root-finding function. Remember that for the Newton methc' +nly need to give a single initial estimate, but you also need to supply the derivative. You can give both input function and its derivative as lambdas. 1. Use Newton's method to verify that the function h(x) = 4tan¯¹ x has a root at x = 0. 2. Try to find this root with a starting guess of xo = 1, and then with an starting guess of Xx0 = 1.5. What goes wrong in the second case? 3. Now consider the function h(x) = x² – 2 (which clearly has a root at x = √2) with an initial 0. What is the problem? guess of co =
Expert Solution
steps

Step by step

Solved in 4 steps with 14 images

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning