Post Reply 
Bug? int(abs(sin(2*pi*x)),x=0..1) [SW 8151]
12-04-2015, 04:26 PM
Post: #1
Bug? int(abs(sin(2*pi*x)),x=0..1) [SW 8151]
Hello,

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.

   

Greetings
Find all posts by this user
Quote this message in a reply
12-04-2015, 05:57 PM
Post: #2
RE: Bug? int(abs(sin(2*pi*x)),x=0..1) [SW 8151]
Not reported anywhere I've seen. Thanks! Have passed it on.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)