plot (sin x+cosec x)^2+(cos x+sec x)^2-9 from 0 to 2*pi