polar plot r=cos(3*theta) + 2 from 0 to 2pi