Here is Canvas object wihch demonstrate the problem.

Summing the results for the three cases gives the beam slope at C:


The beam deflection at C is:



Finished