Introduction to structural mechanics