Re: assigning functions
- To: mathgroup at smc.vnet.net
- Subject: [mg56272] Re: assigning functions
- From: Helen Read <hpr at together.net>
- Date: Wed, 20 Apr 2005 05:32:45 -0400 (EDT)
- References: <opspforld7yw49cj@juergen> <d42kri$3du$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
juejung wrote: > sorry, i just found the solution myself. yes, the help file is helpful ;-) > > f[x_] := x^2; > fprime[x_] = D[f[x], x] > > works just fine! > the "set delayed assignment rule" for the second part was wrong. Why not just use: f[x_]=x^2; f'[x] -- Helen Read University of Vermont