draw graphs of f(x)=tanx and g(x)=2cosx for 0°less than and equals to x less than and equals to 360°.

Go on wolframalpha dot com

When page be open in rectangle type :

plot f(x)=tanx , g(x)=2cosx, x=0 to 2pi

and click option =

Graph of g( x ) = 2 cos ( x ) are same graph of cos ( x ) but all values of cos ( x ) are multiply by 2

Remark :

360 ° = 2 pi radians