import numpy as np import matplotlib.pyplot as plt x = np.linspace(1, 100, 100) y = (2**(x+1))-1 plt.plot(x, y) plt.title("y") plt.xlabel("x") plt.show()
To embed this project on your website, copy the following code and paste it into your website's HTML: