Re: A question on Newton's Method
- From: Roman Werpachowski <"r o m a nNOSPAM"@theta1.cft.edu.pl>
- Date: Sun, 3 Apr 2005 22:14:07 +0000 (UTC)
On the Sun, 3 Apr 2005 15:42:00 -0600, James Van Buskirk wrote:
>> > f[x_] := x^3-x-1
>> > fp[x_] := D[f[x],x]
>> > Plot[fp[x],{x,-1,2}]
>
> When you finally figure out how to make this work you will
> have an excellent example of the true horror of Mathematica!
f[x_] := x^3 - x - 1
fp[x_] := D[f[s],s] /. s --> x
Plot[fp[x],{x, -1, 2}]
Which is in fact more compatible with the way mathematicians think (a
mathematician would have written:
fp(x) := df(s)/ds (x)
--
Roman Werpachowski
/--------==============--------\
| http://www.cft.edu.pl/~roman |
\--------==============--------/
.
- Follow-Ups:
- Re: A question on Newton's Method
- From: Dave Seaman
- Re: A question on Newton's Method
- From: James Van Buskirk
- Re: A question on Newton's Method
- References:
- A question on Newton's Method
- From: David M
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: beliavsky
- Re: A question on Newton's Method
- From: James Van Buskirk
- Re: A question on Newton's Method
- From: Roman Werpachowski
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: James Van Buskirk
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: James Van Buskirk
- A question on Newton's Method
- Prev by Date: Re: A question on Newton's Method
- Next by Date: Re: A question on Newton's Method
- Previous by thread: Re: A question on Newton's Method
- Next by thread: Re: A question on Newton's Method
- Index(es):
Relevant Pages
|
Loading