CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2016-04-25-103204-symbolic-calculus-bug.sagewsOpen in CoCalc

Examples for support purposes...

f(x) = sinh(x^2 + (x-1)) + e^(pi*x) + asin(x) + 1/(x^2 - x- e)
f(1.1)
N(f(1.1))
N(-1.00000000000000/(1.00000000000000*e - 0.110000000000000) + e^(1.10000000000000*pi))
-1.00000000000000/(1.00000000000000*e - 0.110000000000000) + e^(1.10000000000000*pi) NaN 31.2987079491022

f(x) = e^(pi*x) + asin(x) + 1/(x^2 - x- e)
f(1.1)
N(f(1.1))
N(-1.00000000000000/(1.00000000000000*e - 0.110000000000000) + e^(1.10000000000000*pi))
-1.00000000000000/(1.00000000000000*e - 0.110000000000000) + e^(1.10000000000000*pi) NaN 31.2987079491022

RR('nan').is_zero()
True
SR(RR('nan')).is_zero()
True
parent(NaN)
Symbolic Ring
NaN.is_zero()
False
RR(NaN)
NaN
RR(NaN) == 0
False
RR(NaN).is_zero()
True