Question: 11:14 PM Homework9v2.pdf bb-csuohio.blackboard.com Problem 1 x3- P = O gives the fifth root of the number P. A The solution of the nonlinear equation

 11:14 PM Homework9v2.pdf bb-csuohio.blackboard.com Problem 1 x3- P = O gives

11:14 PM Homework9v2.pdf bb-csuohio.blackboard.com Problem 1 x3- P = O gives the fifth root of the number P. A The solution of the nonlinear equation numerical solution ofthis equation can be calculated with Newton's method. The solution process starts by choosing a value xl as a first estimate of the solution. Using this value, a second, more accurate solution x2 can he calculated with x1s -P 5x14 x2 = x1- This equation is then used for calculating a third, still more accurate solution 3, and so on. The general equation for calculating the value of the solution from the solution xi Write a script file that utilizes a for-oop or a while-Soop to cakulate the fifth root of 17000. The input argument (P) is the number whose fifth root is to be determined and the output argument is x. Use an initial guess xl P/2 for each number. 1. 2. Stop the looping when the relative estimated error is less than 0.00001. a. Error- (nevw valuc- previous valuc) previous value 3. Your program should also perform the following a. Uses the fprintf command to display the calculated value of the fifth root. i. The fifth root of 17000 is b. Print two labeled columns with the first column showing the iteration number and second column showing the calculated values X at each Reration. c. Create a 2xl subplot The first plot shows the calculated values on the y-axis and the corresponding iteration number on the x-axis and the second subplot shows the relative error values on the y-axis and the corresponding ineration number on the x-axis G

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!