import matplotlib.pyplot as pltimport numpy as np
x = np.linspace(-10, 10, 400)y = -x*2 - 2x + 1plt.figure()plt.plot(x, y)plt.title('Graph of y=-x^2-2x+1')
y = 2*x*2 - 4x + 6plt.figure()plt.plot(x, y)plt.title('Graph of y=2x^2-4x+6')
y = x**2 - x + 2plt.figure()plt.plot(x, y)plt.title('Graph of y=x^2-x+2')
y = 2*x*2 + 8xplt.figure()plt.plot(x, y)plt.title('Graph of y=2x^2+8x')
plt.show()
import matplotlib.pyplot as plt
Функция A) y=-x^2-2x+1import numpy as np
x = np.linspace(-10, 10, 400)
Функция Б) y=2x^2-4x+6y = -x*2 - 2x + 1
plt.figure()
plt.plot(x, y)
plt.title('Graph of y=-x^2-2x+1')
y = 2*x*2 - 4x + 6
Функция В) y=x^2-x+2plt.figure()
plt.plot(x, y)
plt.title('Graph of y=2x^2-4x+6')
y = x**2 - x + 2
Функция Г) y=2x^2+8xplt.figure()
plt.plot(x, y)
plt.title('Graph of y=x^2-x+2')
y = 2*x*2 + 8x
plt.figure()
plt.plot(x, y)
plt.title('Graph of y=2x^2+8x')
plt.show()