From 0ae5119f677a0724f13eef5058be34c6c13b79e8 Mon Sep 17 00:00:00 2001 From: Hussein Kabbout Date: Tue, 22 Sep 2020 17:21:08 +0200 Subject: [PATCH] Initial commit --- serie1/IT19ta_ZH7_S1_Aufg1.py | 21 +++++++++++++++++++++ serie1/IT19ta_ZH7_S1_Aufg2.py | 4 ++++ serie1/IT19ta_ZH7_S1_Aufg3.py | 4 ++++ 3 files changed, 29 insertions(+) create mode 100644 serie1/IT19ta_ZH7_S1_Aufg1.py create mode 100644 serie1/IT19ta_ZH7_S1_Aufg2.py create mode 100644 serie1/IT19ta_ZH7_S1_Aufg3.py diff --git a/serie1/IT19ta_ZH7_S1_Aufg1.py b/serie1/IT19ta_ZH7_S1_Aufg1.py new file mode 100644 index 0000000..b84583e --- /dev/null +++ b/serie1/IT19ta_ZH7_S1_Aufg1.py @@ -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() diff --git a/serie1/IT19ta_ZH7_S1_Aufg2.py b/serie1/IT19ta_ZH7_S1_Aufg2.py new file mode 100644 index 0000000..eb4711d --- /dev/null +++ b/serie1/IT19ta_ZH7_S1_Aufg2.py @@ -0,0 +1,4 @@ + + +if __name__ == "__main__": + pass diff --git a/serie1/IT19ta_ZH7_S1_Aufg3.py b/serie1/IT19ta_ZH7_S1_Aufg3.py new file mode 100644 index 0000000..eb4711d --- /dev/null +++ b/serie1/IT19ta_ZH7_S1_Aufg3.py @@ -0,0 +1,4 @@ + + +if __name__ == "__main__": + pass