Parabel Werte bestimmen
Verfasst: Sonntag 29. November 2020, 18:13
Hey gerade beiße ich mir als Newcomerin die Zähne aus und hoffe jemand kann mir helfen
__________________________________________________________________________
# A)
import numpy as np
import matplotlib.pyplot as plt
def x(t):
return 5.25 * t
def y(t):
return -0.365 * t**2 + 7.15 * t
def z(t):
return -0.49 * t**2 + 9.9 * t
#Zeitvalues
zeitpunkte = np.linspace(0, 20, num=50)
#arrays
X = np.array(x(zeitpunkte))
Y = np.array(y(zeitpunkte))
Z = np.array(z(zeitpunkte))
f = np.array([X,Y,Z])
np.max(Z) # ist 50
highestPoint = np.max(Z)
______________________________________________________________________________________
Nun weiß ich, dass der Höchstepunkt 50 ist und soll herausfinden zu welchem Zeitpunkt die Höhe erreicht wurde und bekomme es leider nicht hin.
DANKE !!!!!
__________________________________________________________________________
# A)
import numpy as np
import matplotlib.pyplot as plt
def x(t):
return 5.25 * t
def y(t):
return -0.365 * t**2 + 7.15 * t
def z(t):
return -0.49 * t**2 + 9.9 * t
#Zeitvalues
zeitpunkte = np.linspace(0, 20, num=50)
#arrays
X = np.array(x(zeitpunkte))
Y = np.array(y(zeitpunkte))
Z = np.array(z(zeitpunkte))
f = np.array([X,Y,Z])
np.max(Z) # ist 50
highestPoint = np.max(Z)
______________________________________________________________________________________
Nun weiß ich, dass der Höchstepunkt 50 ist und soll herausfinden zu welchem Zeitpunkt die Höhe erreicht wurde und bekomme es leider nicht hin.
DANKE !!!!!