Comparative Calculation of optimal parameters of bent closed profiles and channel bent