Re: Extracting functions from Solve

*To*: mathgroup at smc.vnet.net*Subject*: [mg7072] Re: Extracting functions from Solve*From*: Michaela Meier <michaela.j.meier at rz.ruhr-uni-bochum.de>*Date*: Sat, 3 May 1997 22:05:01 -0400 (EDT)*Organization*: Ruhr-Universitaet Bochum, Rechenzentrum*Sender*: owner-wri-mathgroup at wolfram.com

mark christopher haase wrote: > > Dear MMA Users: > > How may I extract and define as functions the solutions derived from Solve? > > E.g., Solve[x^2+y^2==1,y], I would like to define two functions f1 and f2 that > are the solutions to this. Try this (Check out 'Part of List') s=Solve[x^2+y^2==1,y] f1[x_]=s[[1,1]] f2[x_]=s[[2,1]] Michaela