How to properly work with inequalities



Hi,

solve cannot solve inequalities. For simple rational inequalities you can
load and use the addon package solve_rat_ineq.

(%i1) display2d:false$

(%i2) load("solve_rat_ineq");

(%o2) "/usr/share/maxima/5.24.0/share/contrib/solve_rat_ineq.mac"
(%i3) solve_rat_ineq(7*x+2<-x-3);

(%o3) [[x < -5/8]]

Hope that helps
Volker van Nek


2011/5/31 Sergey Fukanchik <fukanchik at gmail.com>

> Hi,
> I guess i'm doing something wrong here:
>
> (%i1) solve([7*x+2<-x-3], [x]);
> (%o1)                       [7 x + 2 < - x - 3 = 0]
> i expect something like this:
> [x < -5 / 8 ]
>
> Could please someone help me with correct method to solve such problems?
>
> Thank you in advance!
>
> --
> Sergey
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>