A classical solution of the Standard Model + General Relativity is given by an elliptic function whose periodicity in imaginary time is the origin of cosmological temperature. Nothing beyond the Standard Model is assumed. The solution is a Spin(4)-symmetric universe expanding prior to the electroweak transition. A rapidly oscillating SU(2) gauge field holds the Higgs field to 0 with strength inversely proportional to the scale factor a. When a reaches aEW the solution becomes unstable and the electoweak transition begins. aEW is the only free parameter in the solution. The temperature at aEW is mH/(6π)1/2=28.8GeV=3.34×1014K whatever the value of aEW.