Differential equations must be used if adequate teaching of Newton''s mechanics is to be done. How the problem has been solved at the beginning of the 20. century and how it can be solved now by using mathematical software Mathematica is dealt in the article.