implementation de la class physic