Here is Canvas object wihch demonstrate the problem.

Beam deflection equations are readily available for a cantilever beam with a uniform loading over the entire span.