def Aire_inf(n): Aire = 0 l=1/n for k in range(n): x=k/n L=f(x) Aire = Aire+l*L return Aire