[Date Index] [Thread Index] [Author Index]
Re: how do you solve a less-or-equal equation
"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) <= x <= (1/2)*(3 + Sqrt) -- Steve Luttrell QinetiQ, Malvern, U.K.