Compute strain energy density u = σ²/(2E) from stress and elastic modulus for energy storage and fatigue analysis.
輸入應力 σ 與彈性模量 E,求單位體積應變能。