Issue
I'm trying to plot y = log10(x) - squareroot(x) in Jupyter notebook with x in range 1 to 1000, any ideas?
Solution
import math
import matplotlib.pyplot as plt
x = [i for i in range(1,1001)]
y = [math.log10(i)-math.sqrt(i) for i in x]
plt.plot(x,y)
Answered By - Tamir
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.