Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
fix: add evalf
Browse files Browse the repository at this point in the history
  • Loading branch information
boostvolt committed Jan 14, 2024
1 parent f1ed827 commit 93d223b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Basics/ableiten_integrieren.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def ableiten(funktion, symbol=None):
# Werte für Unbekannte definieren
# werte = {"x": 0.8}

# print(f"Ergebniss von Ableitung: {ableiten(funktion).subs(werte)}")
# print(f"Ergebniss von Funktion: {sympify(funktion).subs(werte)}")
# print(f"Ergebniss von Ableitung: {ableiten(funktion).subs(werte).evalf()}")
# print(f"Ergebniss von Funktion: {sympify(funktion).subs(werte).evalf()}")

0 comments on commit 93d223b

Please sign in to comment.