###Importation bibliothèques
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.ticker as tck

N=???? # nombre de points sur le graphe
xmin=???  # valeur minimale representée en abscisse
xmax=???    # valeur maximale representée en abscisse
x=np.linspace(xmin,xmax,N)

#Expression de la fonction
y = ????



######Graphe

plt.figure(0)
plt.plot(????,????,?????)
plt.legend()
plt.grid()
plt.xlabel('x')
plt.ylabel('y')
plt.grid(b=True, which='major',axis="both", color='black', linestyle='-')
plt.grid(b=True, which='minor',axis='both', color='grey', linestyle='--')
ax=plt.gca()
ax.yaxis.set_minor_locator(tck.MultipleLocator(base=1))
ax.yaxis.set_major_locator(tck.MultipleLocator(base=5))
ax.xaxis.set_minor_locator(tck.MultipleLocator(base=1))
ax.xaxis.set_major_locator(tck.MultipleLocator(base=5))

plt.show()
