plot |y|=|sin(x)| for -pi <= x <= pi