Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import numpy as np
  2. import matplotlib.pyplot as plt
  3.  
  4. x=np.linspace(-10,10,200)
  5. y1=((1-np.e**-x)/x)
  6. y2=((x**4)/(x**2-3*x+2))
  7. y3=((x**4+x**2+1)/(x**2*(x-2)))
  8. plt.plot(x,y1)
  9. plt.plot(x,y2)
  10. plt.plot(x,y3)
  11. plt.xlabel('x asis')
  12. plt.ylabel('y asis')
  13. plt.title('Grafikas')
  14. plt.legend(['v1','v2','v3'])
  15. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement