Hello Basile,
I remember I mentioned that few years ago - see this link please
int() does not like if. Try your own integration function like this one presented in the Examples section on the Wiki
Gauss-Legendre integrationMaybe some motivated plugin maker will take this into consideration
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"