Skip to content
Advertisement

Tag: symbolic-math

Trying to accurately get 100 digits of pi with Chudnovsky’s algorithm in PYTHON

I am trying to teach myself Chudnovsky’s algorithm using Python and this wikipedia page: https://en.wikipedia.org/wiki/Chudnovsky_algorithm On the wiki, I am focused on the “high performance iterative implementation, [that] can be simplified to”: I tried to code up the equation on the far right that is using the Sigma symbol. I am familiar with Python but am not that great at

Python: Equation symbolic solution

I was wondering if there was any way I could get the symbolic solution for a variable in an equation using python, as I’ve been looking around but didn’t find exactly what I wanted. What I intend to do is, for example, given: eq = x + y + 5 I’d like to get: x = – 5 – y

Advertisement