Re: A question on Newton's Method
- From: Jon Harrop <usenet@xxxxxxxxxxxxxx>
- Date: Fri, 01 Apr 2005 00:36:54 +0100
David M wrote:
> FORTRAN is the
> language I'm using since its easier then some of the others out
> there
If you're just starting out then I recommend you use a more appropriate
language, like Mathematica (commercial) or OCaml (free). Both of these
languages let you concentrate on the problem at hand, rather than having to
mess about with computer-specific problems. They are also much easier to
learn and use and they will allow you to solve much more difficult and
interesting problems.
> someone pointed out that using the quadratic equation is not
> exactly stable when it comes to computers.
Yes, evaluating the expressions for solutions to a quadratic as they are
taught at school is not numerically stable when you are using floating
point arithmetic. This is actually pedagogical example used to teach
numerical robustness.
> So doing some looking
> around I found a book called "Applied Numerical Methods" that showed
> how Newton's Method worked. But it's a bit vauge since its meant for
> someone a bit more advanced then I am (I'm in Calc 2).
If you are referring to the iterative Newton-Raphson method then that is not
the conventional way to find the roots of a quadratic robustly. You should
simply rearrange the expressions into a robust form.
--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com
.
- Follow-Ups:
- Re: A question on Newton's Method
- From: Phillip Helbig---remove CLOTHES to reply
- Re: A question on Newton's Method
- From: David M
- Re: A question on Newton's Method
- From: beliavsky
- Re: A question on Newton's Method
- References:
- A question on Newton's Method
- From: David M
- A question on Newton's Method
- Prev by Date: Re: Optimization Halp!
- Next by Date: Re: Time Series Analysis
- Previous by thread: Re: A question on Newton's Method
- Next by thread: Re: A question on Newton's Method
- Index(es):
Relevant Pages
|