Analysis of Deflection of Columns by Variational Approach