plot (sin(pi/2-x)/tan(x)+1/sin(x)), x=-pi to pi