MathGroup Archive 2001

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

Search the Archive

Re: how do you solve a less-or-equal equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31016] Re: how do you solve a less-or-equal equation
  • From: "Steve Luttrell" <luttrell at signal.qinetiq.com>
  • Date: Tue, 2 Oct 2001 01:20:52 -0400 (EDT)
  • Organization: Defence Evaluation & Research Agency
  • References: <9p93fj$ocl$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Okke" <kroosu at tref.nl> wrote in message news:9p93fj$ocl$1 at smc.vnet.net...
> at the moment i'm having problems with a less-or-equal equation.
> Solve[a <= b,x] (with a and b as functions of x) gives an error,
> saying it's not a well-formed equation.
> appearently Solve cant handle the less-than sign.
> how do you solve an equation like this in mathematica?

Here is an example of what you want to do:

1. Read in the Algebra`InequalitySolve` package:

<<Algebra`InequalitySolve`

2. Solve an inequaility:

InequalitySolve[x^2+x\[LessEqual]4x-1,x]

which produces the output

(1/2)*(3 - Sqrt[5]) <= x <= (1/2)*(3 + Sqrt[5])


--
Steve Luttrell
QinetiQ, Malvern, U.K.




  • Prev by Date: Re: help: rewriting a fraction a/b==c/d + e/f
  • Next by Date: Re: rewriting a fraction a/b==c/d + e/f
  • Previous by thread: Re: rewriting a fraction a/b==c/d + e/f
  • Next by thread: Re: how do you solve a less-or-equal equation