how to calculate modulus of elasticity of beam