# Méthode d'Euler

Auteur : Valere Bonnet

list(n):=makelist([k/n,(1+1/n)^k],k,0,n);

list(10);

wxplot2d([discrete, list(10)], [style, points]);

wxplot2d([discrete, list(10)]);

wxplot2d([[discrete, list(10)],exp(x)],[x,0,1],[style,points,lines],
[legend,"methode d'Euler","y=exp(x)"],[xlabel, "n = 10"]);

wxplot2d([[discrete, list(100)],exp(x)],[x,0,1],[style,points,lines],
[legend,"methode d'Euler","y=exp(x)"],[xlabel, "n = 100"]);

wxplot2d([[discrete, list(100)],exp(x)],[x,0,1],[style,[points,1,1,1],lines],
[legend,"methode d'Euler","y=exp(x)"],[xlabel, "n = 100"]);

float(second(last(list(100))));