Thursday
April 24, 2014

Homework Help: Using Matlab

Posted by geoff on Sunday, October 16, 2011 at 11:54am.

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 ?

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Math - Hi I have optimization Qs with MATLAB can you help me and did you know ...
Math - Hi,I need to know how to do question like this without using a calculator...
MaTH - Is anyone good at using matlab
exponents - i know this is simple but what is the answer to the -3 squared? -3 ...
algebra - I'm in algebra class, and my graphing calculator isn't allowed. So I'm...
matlab - One bank pays 5.5 percent annual interest, while a second bank pays 4.5...
Computer Science - MATLAB - thanks mathmate. It's way above my head to. I got ...
Algebra 2 - I need help with this problem because I do not have a graphing ...
simple intrest - My daughter brought home a work sheet and I have no clue where ...
computer programming - Make an Maplet that does the simple calculator funtions ...

Search
Members