Live data from Hacker News

SymPy makes math fun again

wordsandbuttons.online

1–10 of 96 posts

Re: SymPy makes math fun again

#2
The interactive js visualizations are super cool, I didn’t know SymPy could do that

Lately I’ve been using SymPy and Pluto.jl together, it’s been great for deriving results and making interactive visualizations for numerical code at the same time

Re: SymPy makes math fun again

#3
I've solved some Math assignments using SymPy on my sophomore year in uni. One time instead of writing them down to paper (the assignment was like “you have 24 hours to take these 20 integrals”), I've just shown the script I coded to my teacher and got an A.

(And I have dropped out the very same year then :-)

Re: SymPy makes math fun again

#4
post #2

The interactive js visualizations are super cool, I didn’t know SymPy could do that Lately I’ve been using SymPy and Pluto.jl together, it’s been great for deriving results and making interactive visualizations for numerical code at the same time

I think the visualization isn't made by SymPy, just the formulas for JS.

Re: SymPy makes math fun again

#5
post #2

The interactive js visualizations are super cool, I didn’t know SymPy could do that Lately I’ve been using SymPy and Pluto.jl together, it’s been great for deriving results and making interactive visualizations for numerical code at the same time

I think the visualization isn't made by SymPy, just the formulas for JS.

Oh, so you have to hook it up to a js plotting library then? Still seems cool, I knew SymPy could emit LaTeX but I didn’t know it could do js too

Re: SymPy makes math fun again

#8

The fact that you have to declare every single variable makes it a non-starter for me. In Mathematica, I have written calculations that involve dozens of variables. In sympy that will be very annoying.

In some use cases you should be able to just use `var` for a simpler call pattern: https://docs.sympy.org/latest/modules/core.html#var

(it puts things in the global namespace, but for the typical calculator use case that's probably fine)

(Sage seems to work like this too - it may use sympy under the hood)

Post reply on HN