Compound inequation inconsistency
Publié : mar. août 04, 2015 8:46 am
Hello!
We are using Giac v1.2.0 compiled from source. We have found some inconsistencies in handling compound inequations. Namely:
Input:
Output:
However, if we just slightly change the input to:
Input:
we get much more friendly output:
which is the same as when inputting
Currently, we have a workaround for this to automatically detect compound inequalities in our code and make sure list of inequations form is used when invoking GIAC.
We are using Giac v1.2.0 compiled from source. We have found some inconsistencies in handling compound inequations. Namely:
Input:
Code : Tout sélectionner
solve((y)^(2) - 3.5 < 5 < y + 9, y)
Code : Tout sélectionner
Inequation inside inequation not implemented (y^2-7/2-y-9)<(5-y-9) Error: Bad Argument Value
Input:
Code : Tout sélectionner
solve((y)^(2) - 3.5 < y < y + 9, y)
Code : Tout sélectionner
list[((y>((-sqrt(15)+1)/2)) and (y<((sqrt(15)+1)/2)))]
Code : Tout sélectionner
solve(list[(y)^(2) - 3.5 < y, y < y + 9], y)