Use of the procedure of functional and cost analysis in the implementation of design work on the railway transport. Mathematical description of the total cost price. Developing methods for assessing the safety margin of bearing structures of freight cars.