Solution of the mathematical problems