I'm studying Electronics Engineering so I have almost no background in mechanics, just a little of statics and dynamics. I have recently started an internship in an investigation center where they make microelectromechanical systems (MEMS). I was asked to know the deformation in $y$- and $x$-axes for a cantilever beam with a concentrated end load. I have more interest in the vectorial mechanics rather than the material mechanics.
I have done research in Minhang Bao's book Analysis and Design Principles of MEMS Devices, where I found that the maximum displacement at the free end is: $$w(L) = \dfrac{4FL^3}{EI}$$ if the load is on the $y$-axis.
But I couldn't find any information related to the compression in the $x$-axis. I came up with the idea of using a similar triangles approach but think that won't be so accurate.