How can I code this problem in MATLAB: a) Find the approximations to within 10-4 to...

50.1K

Verified Solution

Question

Advance Math

How can I code this problem in MATLAB:

a) Find the approximations to within 10-4 to all realzeros of the following polynomials using Newton's method.?

f(x)=x3 - 2*x2- 5.

b) Find approximations to within 10-5 to all thezeros of each of the following polynomials by first
finding the real zeros using Newton’s method and then reducing topolynomials of lower degree to
determine any complex zeros.

f(x)=x4 + 5x3 - 9*x2 - 85*x -136.

Answer & Explanation Solved by verified expert
3.6 Ratings (692 Votes)
Matlab code for finding roots using Newton methodsclear allclose allfunction for which root have to findfunx x3 2x2 5fprintfFor the function fxndispfunxxlinspace24initial guessx010error    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students