Numerical Methods in Mechanics of Materials