May-21-2019, 09:38 AM
I want to plot a function in a interval. I'm trying to do it - but I'm stuck. someone who can help?
The answer I get on the y axis also looks strange
The answer I get on the y axis also looks strange
def f(x): return x**5+x**3+x n=100 xlist = [i*n for i in range(-1,1,100)] ylist = [f(x) for x in (xlist)] print(xlist,ylist) outpot: [-100] [-10001000100]