Re: How to define new function using the previous output?
- To: mathgroup at smc.vnet.net
- Subject: [mg36391] Re: How to define new function using the previous output?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 4 Sep 2002 21:22:01 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <al4aoe$rbp$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, what is with: In[]:=expr = Integrate[Cos[x], {x, 0, y}]; myfun[y_] := Evaluate[expr]; myfun[z] Out[]=Sin[z] Regards Jens Peter wrote: > > Hello, > > What is a efficient way to use output expression to define new function. > > Thank you, > Peter