Solved Task 2a
This commit is contained in:
@@ -18,4 +18,10 @@ for x_value in x:
|
||||
yg = np.append(yg, g(x_value))
|
||||
plt.plot(x, yf)
|
||||
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