Solved Task 2a
This commit is contained in:
@@ -19,3 +19,9 @@ for x_value in x:
|
|||||||
plt.plot(x, yf)
|
plt.plot(x, yf)
|
||||||
plt.plot(x, yg)
|
plt.plot(x, yg)
|
||||||
plt.show()
|
plt.show()
|
||||||
|
print("min f: ", min(yf), "max f: ", max(yf))
|
||||||
|
print("min g: ", min(yg), "max g: ", max(yg))
|
||||||
|
|
||||||
|
#Die Werte sind sehr klein (von e-14 bis e-12)
|
||||||
|
# sodass Rundungsfehler entstehen wenn die Werte als Fliesskommazahlen
|
||||||
|
# zwischengespeichert werden.
|
||||||
|
|||||||
Reference in New Issue
Block a user