Question
Please solve it with MATLAB. Many thanks.
Use Newtons method to find, within 10-3, the zeros and critical points of the following functions Use this information to sk
1 0
Add a comment Improve this question Transcribed image text
Answer #1

We use Newton-Raphson method to approximate the root Code for Newton Raphson method % write the given function f (x) X4+1 = Xf (x) — х3 — 9х? + 12 f(x) — Зx2 — 18х percentage error f(xi) f(xi) xі perer 21 0 1 2 x 100% Ea -- -0.10971 23.31293 -1.0905b) f(x) x42x3 5x2 +12x - 5 f() %3 4x3 — 6х? - 10х + 12 f(xi) f(xi) хi perer 0 13 36 2.638889 3.588549 17.33479 13.68421 2.43

Add a comment
Know the answer?
Add Answer to:
Please solve it with MATLAB. Many thanks. Use Newton's method to find, within 10-3, the zeros and critical point...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • How can I code this problem in MATLAB: a) Find the approximations to within 10-4 to all real zeros of the following poly...

    How can I code this problem in MATLAB: a) Find the approximations to within 10-4 to all real zeros of the following polynomials using Newton's method.? f(x)=x3 - 2*x2- 5. b) Find approximations to within 10-5 to all the zeros of each of the following polynomials by first finding the real zeros using Newton’s method and then reducing to polynomials of lower degree to determine any complex zeros. f(x)=x4 + 5x3 - 9*x2 - 85*x - 136.

  • 3. Use Newton's method to find solution accurate to within 10-3 for x3 + 3x2 –...

    3. Use Newton's method to find solution accurate to within 10-3 for x3 + 3x2 – 1 = 0 on (-3,-2]. Use po -2,5. 4. Use Secant method to find the solution P4 for In(x - 1) + cos(x - 1) = 0 on [1.3,2]. Use po 1.3 and p1 = 1.5. 5. Use False position method to find the solution P4 for 3x – e* = 0 on [1,2]. Use - Ро 1 and P1 2.

  • Homework 4 - False Position Find the zeros of the function f(x) within the interval (-4,...

    Homework 4 - False Position Find the zeros of the function f(x) within the interval (-4, 6) using the False Position method with f(-4) > 0 what you must know before you start working on the homework: f(-1) <0 f(x) = sin(21(x/5) + exp(x/5) f(+6) > 0 (a) Write a Matlab function that computes the values for f(x) when xis given as an input. (b) Write a Matlab script entitled "myplot.m” that plots the functions f(x) within the interval (-4,...

  • ANSWER FOR NEWTON'S METHOD ON MATLAB ONLY PLEASE Implement Newton's method for finding minima. Compare these...

    ANSWER FOR NEWTON'S METHOD ON MATLAB ONLY PLEASE Implement Newton's method for finding minima. Compare these for the following task: find all maxima and minima of (-- 1)(x+ 3) exp(-x?). You can compare the methods byla the number onerationen 14 Fe 41 to 09/17 nahihicul lou choosing starting points e la reconegut

  • Question: Use MATLAB to solve it,uing MATLAB built in functions is not allowed.Write a MATLAB algorithm that does these 3. Use any method you want and compute the following double integral: edrdy (a)...

    Question: Use MATLAB to solve it,uing MATLAB built in functions is not allowed.Write a MATLAB algorithm that does these 3. Use any method you want and compute the following double integral: edrdy (a) (12 points) The domain of integral 2 is 0 SE1, 0y (b) (8 points) S2 is the first quadrant in the unit circle: z > 0, y > 0,T2 + y2 < 1. HINT: to calculate double integral, you basically are doing a nested numerical integral. Find...

  • Newton's Method in MATLAB During this module, we are going to use Newton's method to compute...

    Newton's Method in MATLAB During this module, we are going to use Newton's method to compute the root(s) of the function f(x) = x° + 3x² – 2x – 4 Since we need an initial approximation ('guess') of each root to use in Newton's method, let's plot the function f(x) to see many roots there are, and approximately where they lie. Exercise 1 Use MATLAB to create a plot of the function f(x) that clearly shows the locations of its...

  • Part 3 If the function is subject to the constrain a) Use Lagrangian multipliers method to find t...

    Part 3 If the function is subject to the constrain a) Use Lagrangian multipliers method to find the critical points of the function b) Plot the function in the 3-D graph in MATLAB. c) Using Matlab function "fmincon", find the maximum and minimum of the function f(x, y) = 3x-4y g(x, y) = x2 + y2 = 80 Part 3 If the function is subject to the constrain a) Use Lagrangian multipliers method to find the critical points of the...

  • Answer just in MATLAB please. Many thanks. #MATLAB Questions 2. Find the volume of the solid...

    Answer just in MATLAB please. Many thanks. #MATLAB Questions 2. Find the volume of the solid generated by revolving the region in the first quadrant bounded by the coordinate axes and the curve y = cos x, OS XS 1/2, about, a) the y-axis b) the line x= Tt/2. (15 marks, 5 each part, 5 for baseline formulation) 3. (a) Solve the following double integral, (b) Sketch the region of integration, and (c) write an equivalent double integral with the...

  • LAB 2 APROXIMATING ZEROS OF FUNCTIONS USING NEWTON'S METHOD (Refer to section 3.8 of your textbook...

    LAB 2 APROXIMATING ZEROS OF FUNCTIONS USING NEWTON'S METHOD (Refer to section 3.8 of your textbook for details in the derivation of the method and sample problems) (NOTE: You can use Derive, MicrosoftMathematics or Mathematica or any other Computer Algebra System of your choice. Your final report must be clear and concise. You must also provide sufficient comments on your approach and the final results in a manner that will make your report clear and accessible to anyone who is...

  • find the root(s) of the following functions using both Newton's method and the secant method, using...

    find the root(s) of the following functions using both Newton's method and the secant method, using tol = eps. 3 Find the root s of the following functions using both Newton's ulethod and the anat inethod using tol epa. . You will vood to experiment with the parameters po, pl, ad maxits. . For each root, visualize the iteration history of both methods by plotting the albsolute errors, as a function . Label the two curves (Newton's method and secaut...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT