Why does an LC-filter need two different capacitors and how do we calculate their values?
Large-value electrolytic capacitors are very good for bulk smoothing to produce DC. However adding a small-value poly or ceramic capacitor in parallel is often used to shunt away ("filter") high-frequency ripple as from a switch-mode power supply (SMPS).

It is rather common that those values are empirically derived rather than theoretically calculated.