Foundations of engineering mechanics