Question: import matplotlib.pyplot as plt import numpy as np m , b = - 2 , 2 x = np . linspace ( - 1 0

import matplotlib.pyplot as plt
import numpy as np
m, b =-2,2
x = np.linspace(-10,10,500)
plt.plot(x, x*m+b, label ='y =3x +2')
plt.xlim(-10,10)
plt.ylim(-10,10)
plt.show()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!