Nitin P. answered 05/28/20
Machine Learning Engineer - UC Berkeley CS+Math Grad
You can factor r2 out of the terms in the parentheses to get:
(r cos t) (r2 - r2sin t) =(r cos t) (r2(1-sin2t)) = (r cos t)(r2cos2t) = r3cos3 t
Meaning you have typos on the right side.
Alex M.
thank you so much!!05/28/20