Re: A question on Newton's Method
- From: Dave Seaman <dseaman@xxxxxxxxxxxx>
- Date: Mon, 4 Apr 2005 03:46:14 +0000 (UTC)
On Sun, 3 Apr 2005 22:14:07 +0000 (UTC), Roman Werpachowski wrote:
> 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)
I would have written:
f[x_] := x^3 - x - 1
fp = f'
Plot[fp[x],{x,-1,2}]
Which seems much more natural than any of the alternatives so far suggested.
--
Dave Seaman
Judge Yohn's mistakes revealed in Mumia Abu-Jamal ruling.
<http://www.commoncouragepress.com/index.cfm?action=book&bookid=228>
.
- 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
- Re: A question on Newton's Method
- From: Roman Werpachowski
- 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
|