Stress Analysis: Theory, tutorials and examples