Question: numerical calculation and plotting


My equation is the following:

Y = 1 - ( sin (2*theta)/ (X+cos(2*theta)))^2

where theta=20 degrees = pi/9  and X= 0..30. How can I numerically calculate Y as a function of X.  And also how can I plot Y(X),

Y(1/X)  and  Y(1/X^2). I like to do these for different theta values (i.e., theta=2*pi/9,  theta= 3*pi/9,,,,,, theta=4*pi/9 ).

Thank you in anvance


Please Wait...