This answer is not quite correct. The cis geometry is less stable than the trans geometry and if possible (remember the geometric requirements of the transition state) the trans alkene will be formed.