Ou bien je vois double, ou bien il y a un bug...
int(1+cos(x/2),x,-2*pi,2*pi) retourne
8*pi
et le commentaire
Searching int of (x^2+2*x+1)/(2*x^2) where x is on the unit circle, using residues
int(1+cos(x/2),x,-2*pi,2*pi)
Modérateur : xcasadmin
Re: int(1+cos(x/2),x,-2*pi,2*pi)
merci pour l'info, je corrige ca la semaine prochaine.
Code : Tout sélectionner
diff intgab.cc intgab.cc~
841c841
< res = normal(periode*cst_two_pi/alpha*cst_i,contextptr)*somme_residues;
---
> res = normal((b-a)/alpha*cst_i,contextptr)*somme_residues;