A Mathematical Model For Training