# Using Matlab

posted by .

imagine you have a simple calculator that can only do addition,subtraction,multiplication and division. show how you can still use it to calculate the cube root of a given number, ie a^1/3, as follows:

a)show that newton raphsons method for solving the equation x^3 -a=0 results in the iteration
X(n+1)=(2/3)X(n) + a /(3X^2(n)

b)illustrate the method by calculating the cube root of a=10, starting at,
x(1)=2 and iterating until the absolute error compared to the previuos step becomes less than 1*10^-12. show the iterations, the result of each and its relative error . How many iterations did you need for convergence?
What are the absolute and relative errors of your solutions compared to the actual answer(as given by matlab)?
c)solve the same question with the same precision as in part b), using the bisection method starting with the bracketing interval [2:3] and the secant method starting again at x(1)=2.
how many iterations did you need in each case ?

## Similar Questions

1. ### math

115-100+3*5= 115-100+3*5...Use BEDMAS (Bracket, Exponent, Division/Multiplication, Addition/Subtraction). So you would first do 3*5 which is 15. So you'd have: 115-100+15 And then from there solve to get 30. It's PEMDAS Raj!! P - PARENTHESSE …
2. ### math

How can you make 34 by only using the digits 1, 2, 3, and 4?
3. ### math

How can you make 7 by only using the digits 1, 2, 3, and 4?
4. ### computer programming

Make an Maplet that does the simple calculator funtions as addition, subtraction, multiplication, division, factorial, sin(), cos(), tan(). (using maplet in maplesoft)
5. ### math

using exactly four 4s and only addition, subtraction, multiplication, and division, write an expression that equals each of the numbers from 1 to 10. you do not have to use all the operations, and numbers such as 44 are permitted
6. ### math

Using the numbers 5, 8, and 24, create a problem using no more than four operations (addition, subtraction, multiplication, division, square, square root, cube, cube root) where the solution will be an irrational number. Explain why …