Choosing appropriate capacitor value from ripple

Choosing appropriate capacitor value from ripple

I have a H-bridge driving a 12V motor that at 100% duty cycle draws around 15A. To start the motor I am applying a soft-start, the duty cycle of PWM to H-bridge goes from around 60% to 100% and PWM ...