Mathematica.jl icon indicating copy to clipboard operation
Mathematica.jl copied to clipboard

Cannot integrate cosine

Open jiahao opened this issue 11 years ago • 2 comments

julia> @Integrate( cos(x), x)
:(Integrate(cos(x),x))

The other examples in README worked fine for me

jiahao avatar Sep 26 '14 00:09 jiahao

It's just that Mathematica uses Cos instead of cos:

julia> @Integrate( Cos(x), x)
:(Sin(x))

kahliburke avatar Nov 20 '14 21:11 kahliburke

That's right, although it's possible to set up conversions between Julia and Mathematica expressions. I think the cos example actually works on master now, but I need to tag a release.

MikeInnes avatar Nov 20 '14 22:11 MikeInnes