Use product rule. Let u=cosx, v=1+sinx
Find turning/inflection points (may need to differentiate twice)
Slot a few key values e.g. 0, pi, 2pi if you are unsure
Differentiate w/th product rule
dy/dx=0; solve for x
substitute into original function for y value for max/min
d^2y/dx^2=0
substitute into original function for y value for inflection pts
sketch function