Absolutelly right, and yes, in my previous university courses I have learn about calculations in several electronics circuits (maths, maths, maths...) but in this case, the problems cames by the teacher who wants to have the pspice simulation of the whole project, not only the 7824.
Thanks...