Jan-28-2020, 08:26 PM
hello,
I'm a beginner and i must draw a graph
![[Image: 4tsd.jpg]](https://zupimages.net/up/20/05/4tsd.jpg)
I try this but...
I'm a beginner and i must draw a graph
![[Image: 4tsd.jpg]](https://zupimages.net/up/20/05/4tsd.jpg)
I try this but...
import matplotlib.pyplot as plt import numpy as np from math import * def HM(m): i = 0 while (i <= m): X = np.linspace(0,10,1) Y= [(1/(2*i+1)**2)*np.cos((2*i)+1)*x for x in X] plt.plot(X,Y) plt.show() print (HM(10))can you help me please ?