How do you find the amplitude and period of #y=2cottheta#?