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

MathGroup Archive 2005

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

Search the Archive

Re: Re: Solve with assumptions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58285] Re: [mg58277] Re: Solve with assumptions
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 26 Jun 2005 01:33:48 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

soln=Reduce[b*x+c==0,x]

(c == 0 && b == 0) || (b != 0 && x == -(c/b))

x/.ToRules[Last[soln]]

-(c/b)

soln[[2,2,2]]

-(c/b)


Bob Hanlon

> 
> From: "Mukhtar Bekkali" <mbekkali at gmail.com>
To: mathgroup at smc.vnet.net
> Date: 2005/06/25 Sat AM 01:56:38 EDT
> Subject: [mg58285] [mg58277] Re: Solve with assumptions
> 
> Great.
> 
> How do you pull the solution out from Reduce? That is, with Solve I can
> have x=x/.Solve[f[x]==0,x] and get x and use it later on.  The output
> of Reduce is identity, x==number.
> 
> 


  • Prev by Date: Mathematica Visualization site - update
  • Next by Date: Re: Re: Solve with assumptions
  • Previous by thread: Re: Re: Solve with assumptions
  • Next by thread: Re: Solve with assumptions