It is wrong, but not as wrong as you make it out to be. Your function is f = abs(h), where h = 2*cos(5/8*sqrt(x)+1/2)/sqrt(x). Rather that integrating f, it seems to have integrated h.

El jue., 12 feb. 2015 a las 21:57, William Stein (<wst...@gmail.com>) escribió:
On Thu, Feb 12, 2015 at 12:55 PM, R. Andrew Ohana
<andre...@gmail.com> wrote:
> It is wrong, but not as wrong as you make it out to be. Your function is f =
> abs(h), where h = 2*cos(5/8*sqrt(x)+1/2)/sqrt(x). Rather that integrating f,
> it seems to have integrated h.
Andrew -- very good point! That's not nearly as bad as I made it out.
Thanks,
-- William
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-s...@googlegroups.com.
On Wed, Feb 9 2022 at 20:49, Rodrigo Sambade Saá (<rodrigos...@gmail.com>) wrote:I swear now it's worth reviving this.A user on Math StackExchange found the steps to integrate the function. Now it's as simple as implementing it in Sage.Best wishes,RodrigoRodrigo Sambaderodrigos...@gmail.comLet's take care of the environment. Think at least twice before printing this e-mail: The environment is everyone's responsibility.El sáb, 24 ago 2019 a las 12:53, Rodrigo Sambade Saá (<rodrigos...@gmail.com>) escribió:Dear William,Sorry 🙏, the link is wrong. This is the correct one: |2*cos(5/8*sqrt(x)+1/2)/sqrt(x)| = sqrt(2+sqrt(2+sqrt(2+2*cos(5*sqrt(x)+4))))*x^(-1/2): https://www.wolframalpha.com/input/?i=%7C2*cos%285%2F8*sqrt%28x%29%2B1%2F2%29%2Fsqrt%28x%29%7C+%3D+sqrt%282%2Bsqrt%282%2Bsqrt%282%2B2*cos%285*sqrt%28x%29%2B4%29%29%29%29*x%5E%28-1%2F2%29Best wishes,Rodrigo