Hi all,
I compute using this code:
using SymPy
integrate(3+ sin(x^2), (x, 0, 2))
The answer is not a single number, but a fraction with Gamma function, which should be able to be computed with Julia, but I do not know how to process this into the final number.

You can use N or evalf on the output.
1 Like
Yahoo!! thanks a lot.
So N gives more decimals than evalf, then it could come in handy in the future.
The evalf function can be passed a number of digits to show. N is a hacky attempt to match a Julia object with the Python object. In this case, BigFloat values are returned.
1 Like