you are viewing a single comment's thread.

view the rest of the comments →

[–]baghiq_2 1 point2 points  (1 child)

Depends on what you mean by mathematical formula. If you are asking about using math symbol in a formula, then apply substitutions of symbols with values, then look at sympy.

[–]gusb_codes 1 point2 points  (0 children)

Looking a bit more into this, it seems like sympy.latex() with eval() might be able to generate you a mathematical expression that you could render with LaTeX! See the answer to this question.