Initial commit
This commit is contained in:
commit
0ae5119f67
21
serie1/IT19ta_ZH7_S1_Aufg1.py
Normal file
21
serie1/IT19ta_ZH7_S1_Aufg1.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
import numpy
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
|
||||||
|
def funktion():
|
||||||
|
plt.figure()
|
||||||
|
plt.xlabel("x")
|
||||||
|
plt.ylabel("y")
|
||||||
|
|
||||||
|
x = numpy.arange(-10, 10)
|
||||||
|
y = (x ** 5 - 5 * x ** 4 - 30 * x ** 3 + 110 * x ** 2 + 29 * x - 105)
|
||||||
|
plt.xlim(1100)
|
||||||
|
plt.ylim(1100)
|
||||||
|
plt.grid()
|
||||||
|
plt.plot(x, y)
|
||||||
|
|
||||||
|
plt.show()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
funktion()
|
4
serie1/IT19ta_ZH7_S1_Aufg2.py
Normal file
4
serie1/IT19ta_ZH7_S1_Aufg2.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
pass
|
4
serie1/IT19ta_ZH7_S1_Aufg3.py
Normal file
4
serie1/IT19ta_ZH7_S1_Aufg3.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
pass
|
Loading…
x
Reference in New Issue
Block a user