Integral definida dunha función $f(x)$

{{{id=0| #auto %hide var('x') @interact def example(f=x^2/(2*x^2+3)^2,rango_x='(0, 2)'): xmin, xmax = sage_eval(rango_x); P = integrate(f, x,xmin,xmax) html('

A integral de $f(x) = %s$ entre $%s$ e $%s$ é

'%(latex(f),latex(xmin),latex(xmax))) show(P) html('

Unha aproximación numérica é

') show(P.n(digits=6)) ///
f 
rango_x 
}}} {{{id=2| /// }}}