plot (x^2 - 4) / (x^2 + 4) + cos(pi / 4 * x), 4x / (x^2 + 4) - sin(pi / 4 * x)