The domes at the end of a cylinder is for strength to withstand pressure and retain shape against side was distortion, ie sheer forces. Just look at petrol carrying and such tankers.
It is the mathematics involved telling you to use a concave or convex dome on such vessels - not any dome but what the one structural analysis dictates.
--
For full context, visit
https://www.homeownershub.com/uk-diy...ng-352259-.htm