Worked example
For this example section, rotating from 40 mm deep to 20 mm deep lowers I from 46,900 to 12,500 mm⁴. The flat orientation deflects about 3.75 times as much under the same load and support.
The bending axis follows the applied load. Pick the orientation for the force you are evaluating, and separately check the perpendicular direction and torsion where the head sits away from the extrusion center.
Maximum deflection 0.4174 mm
Formulas
Midspan deflection, simple supports = F L³ / (48 E I)Midspan deflection, fixed ends = F L³ / (192 E I)Cantilever tip deflection = F L³ / (3 E I)Max moment = F L/4, F L/8, or F L for simple, fixed and cantilever casesMax stress = M × outer-fiber distance / IYield safety factor = yield strength / estimated max stress