Phase transition in the spherical model using a direct solution of the partition function | Synapse