Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- import matplotlib.pyplot as plt
- x=np.linspace(-10,10,200)
- y1=((1-np.e**-x)/x)
- y2=((x**4)/(x**2-3*x+2))
- y3=((x**4+x**2+1)/(x**2*(x-2)))
- plt.plot(x,y1)
- plt.plot(x,y2)
- plt.plot(x,y3)
- plt.xlabel('x asis')
- plt.ylabel('y asis')
- plt.title('Grafikas')
- plt.legend(['v1','v2','v3'])
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement