I have a cap on a board that is 405v 47uf 105'c and is 50mm long by 10mm (2" x 3/8").
Can I replace it with a cap of the same value but physically smaller ? Half the size.
It is in a switch mode psu.