Using Midpoint Formula In Elasticity Example