Writing acosx+bsinx in the form Rcos(x-a)

Información: Writing acosx+bsinx in the form Rcos(x-a)