elasticity demo, figure with application