Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. xmin = 0
  2. xmax = 2
  3. dx = 0.1
  4.  
  5. xlist = np.around(np.arange(xmin, xmax, dx), decimals=4)
  6.  
  7. ylist = ((8.831 * 10. ** 12.) / xlist ** 3.) ** 1/5.0
  8.  
  9. fig = plt.figure(figsize=(4, 3))
  10. plt.plot(xlist, ylist, label=r'$y = \sqrt[5]{\frac{8.831 * 10^{12}}{x^3}} $')
  11. plt.legend(loc='best')
  12. plt.xlabel(r'$x$')
  13. plt.ylabel(r'$y$')
  14. # plt.savefig('image-1.pdf')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement