You have been submitting a lot of questions.
I would like to start seeing what you can do for yourself. You should not just be copying our work.
You will not learn any thing that way.
Could you please show me what you have attempted yourself to solve this problem?
Also, are you meant to be working in degrees or in radians?