Re: Defining functions using the output of an other function
- To: mathgroup at smc.vnet.net
- Subject: [mg59612] Re: [mg59596] Defining functions using the output of an other function
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sun, 14 Aug 2005 04:38:01 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
r[t_]=x/.Solve[y==x^2,x]/.y->t
{-Sqrt[t], Sqrt[t]}
r[9]
{-3,3}
r/@{-4,-1,1,4}
{{-2*I, 2*I}, {-I, I}, {-1, 1}, {-2, 2}}
Bob Hanlon
>
> From: "Eckhard Schlemm" <e.schlemm at t-online.de>
To: mathgroup at smc.vnet.net
> Date: 2005/08/13 Sat AM 03:26:29 EDT
> Subject: [mg59612] [mg59596] Defining functions using the output of an other function
>
> Hi
>
> Is there any possibility in mathematica to define a function using te output
> of another function such as D[] oder Solve[] ?
>
> for ex.
>
> r[t_]::=Solve[y=x^2,y,x];
>
> That actually does not work, just in order to illustrate what i am talking
> about^^
>
> Thanks a lot
>
> Eckhard
>
>
>