This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Der folgende Python-Code basiert auf Vorschlägen von ChatGPT (OpenAI) und wurde von mir angepasst. | |
| import numpy as np | |
| import matplotlib.pyplot as plt # Darstellung Fraktal als Bild | |
| #Funktion und Ableitung | |
| def f(z): | |
| return z**3 - 1 | |
| def df(z): | |
| return 3*z**2 |