User:Wamiq/Formulae


 * $$\int \left| \sin{ax} \right|\,dx = {4 \over a} \left \lceil \frac{ax-\pi}{2\pi} \right \rceil- {1 \over a} \sgn \left( \sgn (\sin{ax})+{1\over 2}\right) (\cos{ax} -1) + C\;$$
 * $$\int \left|\cos {ax}\right|\,dx={2\over a}\left\lceil\frac{2ax-\pi}{2\pi}\right\rceil+{1\over a}\sgn \left( \sgn (\cos{ax})+{1\over 2} \right) \sin{ax}+C\;$$