Code: Select all
import mpmath as mp
import sympy as sym
mp.radians(126)
< /code>
Die Ausgabe beträgt 2.19911485751286, was korrekt ist, aber eher numerisch als symbolisch berechnet wird. Ich möchte, dass es als 0,7π
Code: Select all
import mpmath as mp
import sympy as sym
mp.radians(126)
< /code>
Die Ausgabe beträgt 2.19911485751286, was korrekt ist, aber eher numerisch als symbolisch berechnet wird. Ich möchte, dass es als 0,7π