Die Suche ergab 1 Treffer

von Superpuff
Mittwoch 17. August 2022, 14:10
Forum: Allgemeine Fragen
Thema: Fehler im code
Antworten: 4
Zugriffe: 762

Fehler im code

import matplotlib.pyplot as plt
from numpy import arange, sin, pi

#data

Alpha = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90]
Beta = [295, 321, 341, 0.5, 21, 37.5, 53.5, 68.5, 80, 90]

Phi = list();

for i in range(0, len(Alpha)):
phi = Alpha - Beta
Phi.append(phi)

print(Phi)

plt.plot(sin(pi ...