Explanation :
deflection @ load + (slope x load distance from free end)
= $\begin{array}{l}=\frac{wl3}{3\varepsilon1}+\left(\frac{wl2}{2\varepsilon1}\times0.5\right)\\\end{array}$
= $\begin{array}{l}\left(\frac{500\times0.5^3}{3\times200}+\left(\frac{500\times0.5^2}{2\times200}\times0.5\right)\right)\\\end{array}$
=0.26041 mm.
For cantilever beam of lenght & cwlyling a concerntrated load w at a distance a from the fixed end . deflection at tip of beam deflection = deflection @ load x (slope x distance)
$\begin{array}{l}\delta=\frac{wa^3}{3\varepsilon1}+\frac{wa^2}{2\varepsilon1}\left(l-a\right)\\\end{array}$
$\begin{array}{l}=\left(\frac{500\times0.5^3}{3\times200}\right)+\left(\frac{500\times0.5^2}{2\times200}\right)\left(1-0.5\right)\\\end{array}$
= 0.026041 mm.