IN and ground pins of the IC.
Figure 2, the output-voltage ripple is
ΔVOUT(P-P)=ESRCOUT×ΔICOUT(P-P).
Figure 1, the peak-to-peak ripple current in the output capacitor is equal to the peak-to-peak ripple current in the inductor:
ΔICOUT(P-P)=ΔIL(P-P)=(VIN×duty cycle)/(fSW×L), where ΔICOUT(P-P)=output ripple current, ΔIL(P-P)=inductor ripple current, and fSW=switching frequency.
Figure 2, the peak-to-peak ripple current in the output capacitor is much higher than the inductor's ripple current alone; it is almost equal to the inductor's ripple current plus the input capacitor's ripple current:
Figure 2.