import matplotlib.pyplot as pltimport numpy as np
t = np.linspace(-10, 10, 400)x1 = 3tx2 = 4 - 2tx3 = 2 + 3*tx4 = -2 + t
plt.figure(figsize=(8,6))plt.plot(t, x1, label='x = 3t', color='b')plt.plot(t, x2, label='x = 4 - 2t', color='r')plt.plot(t, x3, label='x = 2 + 3t', color='g')plt.plot(t, x4, label='x = -2 + t', color='y')
plt.xlabel('t')plt.ylabel('x')plt.grid(True)plt.legend()plt.title('Графики x=3t, x=4-2t, x=2+3t, x=-2+t')plt.show()
import matplotlib.pyplot as plt
import numpy as np
t = np.linspace(-10, 10, 400)
x1 = 3t
x2 = 4 - 2t
x3 = 2 + 3*t
x4 = -2 + t
plt.figure(figsize=(8,6))
plt.plot(t, x1, label='x = 3t', color='b')
plt.plot(t, x2, label='x = 4 - 2t', color='r')
plt.plot(t, x3, label='x = 2 + 3t', color='g')
plt.plot(t, x4, label='x = -2 + t', color='y')
plt.xlabel('t')
plt.ylabel('x')
plt.grid(True)
plt.legend()
plt.title('Графики x=3t, x=4-2t, x=2+3t, x=-2+t')
plt.show()