Optimization of energy losses in a certain class of woodworking machines - analytical and numerical solutions | Synapse