What does undef mean
Am getting terms with expressions like:
7.10000000000000undef + 3.98967171417774e277x
That is 7.10000000000000 times undef
what does undef mean in sage math and how can I simplify the expression or remove the undef?
EXAMPLE:
beta= 7.10000000000000
y = 2.66778786276411e493*t^3*x - 1.93258971534823e247*x
result=beta*(integral(y, t,0,1))
print('value is:',result)
integral(y, t,0,1)
I haven't seen this personally so please post a (minimal) reproducible example of SageMath code producing such a result, so it can be properly investigated.
Interesting, the huge coefficients break every algorithm used by Sage:
integral(y, t, 0, 1, algorithm=a)
breaks for eacha
in['maxima', 'sympy', 'mathematica_free', 'fricas', 'giac', 'libgiac']
. Theundef
comes fromlibgiac
. The error from choosing'sympy'
looks like it should be fixable (on the developer side, not the user side).Thanks for investigating. I see the point. As an alternative is there a way to round the expression? round(y,10) <- something like that