Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Noah's List
  • Next by Date: Mma 3.0 review URL
  • Previous by thread: Extracting functions from Solve
  • Next by thread: Re: Extracting functions from Solve