One numerical method for calculating the cubic root of a number, VP is in iterations.The

Chapter 6, Problem 30

(choose chapter or problem)

One numerical method for calculating the cubic root of a number, VP is in iterations.The process starts by choosing a value x 1 as a first estimate of the solution.Using this value, a second, more accurate value x2 can be calculated withx2 = (Pixr + 2x1)/3 , which is then used for calculating a third, still more accuratevalue x3, and so on. The general equation for calculating the value of xi+ 1from the value of xi is xi+ 1 = (Pix'f + 2xi)/3 . Write a MATLAB program thatcalculates the cubic root of a number. In the program use x 1 = P for the first estimateof the solution. Then, by using the general equation in a loop, calculate new,more accurate values. Stop the looping when the estimated relative errorE definedbyE = lxi+ i-xil is smaller than 0.00001. Use the program to calculate:(a) V10o (b) 3Js31o1 (c) V19.35

Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.

Becoming a subscriber
Or look for another answer

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back