Beam deflections by integration method

To find the beam slope and deflection at B, substitute x = L into each equation.

At B:

Here is Canvas object wihch demonstrate the problem.