Kirsch equations
From MaRDI portal
Named after
Reference(s)
https://en.wikipedia.org/wiki/Kirsch_equations
| Die Theorie der Elastizität und die Bedürfnisse der Festigkeitslehre |
This page was built for formula: Kirsch equations
SymPy
There is support to convert formulae based on dictionaries to Maple and Mathematica.https://link.springer.com/book/10.1007/978-3-658-40473-4
https://pypi.org/project/latex2sympy2/ can act as starting point to transform from LaTeX to sympy. Translating the formula manually
from latex2sympy2 import latex2sympy
tex = r" \frac{p}{2}\left(1-\frac{a^2}{r^2}\right)+\frac{p}{2}\left(1-\frac{a^2}{r^2}\right)\left(1-\frac{3a^2}{r^2}\right)\cos(2\theta)"
print(latex2sympy(tex))
results in
p*(-a**2/(r**2) + 1)*(-3*a**2/(r**2) + 1)*cos(2*theta)/2 + p*(-a**2/(r**2) + 1)/2