This question was asked in Ex 3.2, 9
How to draw sine and cosine graph
Utsav Addy's image