Direct calculation of Young's moidulus of glass