sin(3x)/sin x-cos(3x)/cos x