Première année Maths-Physique Informatique, Tronc commun