HP Forums

Full Version: Bug? int(abs(sin(2*pi*x)),x=0..1) [SW 8151]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Maybe this was reported somewhere already (didn't find a posting).

When evaluating int( abs(sin(2*pi*x)), x=0..1 )
I get the incorrect result 0.

This doesn't occur when using cosine: int( abs(cos(2*pi*x)), x=0..1 ),
or by rewriting the expression: int( abs(sin(x)), x=0..2*pi )/(2*pi);
both yield 2/pi.


Not reported anywhere I've seen. Thanks! Have passed it on.
Reference URL's