Re: A question on Newton's Method



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 |
\--------==============--------/
.



Relevant Pages

  • Re: A question on Newtons Method
    ... >> have an excellent example of the true horror of Mathematica! ... Judge Yohn's mistakes revealed in Mumia Abu-Jamal ruling. ... Prev by Date: ...
    (sci.math.num-analysis)
  • Re: A difficult hamiltonian problem
    ... Are there any stable fix points? ... but using Mathematica or Maple this is a very quick ... Prev by Date: ...
    (sci.math)
  • Root condition for polynomials
    ... If it can be done on mathematica what are the ... Regards, ... Terry ... Prev by Date: ...
    (sci.math.num-analysis)
  • Re: Sum of Gaussian functions
    ... To my mind (and with the help of mathematica) the expression ... of this nearly-constant periodic function could be: ... Valeri ... Prev by Date: ...
    (sci.math.num-analysis)
  • Re: Challenging ODE
    ... >ODE, or try running it through Mathematica: ... Maple says: ... Prev by Date: ...
    (sci.math)

Loading