Use of the Probability Transformation Method in Some Random Mechanic Problems