Mathematical solutions for explosions in spherical vessels