A curve whose polar equation is \(f(r, \theta)=0\) has pedal equation \(F(r,p)=0\). Prove that the curve whose polar equation is \(f(r^n, n\theta)=0\) has pedal equation \(F(r^n, p r^{n-1})=0\).