
First change UDL in to point load.
Resolved all the forces in horizontal and vertical direction. Since roller at B (only one vertical reaction) and hinged at point A (one vertical and one horizontal reaction).
Let reaction at hinged i.e., point A is RAH and RAV, and reaction at roller support i.e., point B is RBV
Let ∑H & ∑V is the sum of horizontal and vertical component of the forces ,The supported beam is in equilibrium, hence Draw the FBD of the diagram as shown in fig, Since beam is in equilibrium, i.e.,
∑H = 0;
RAH = 0
∑V = 0 ; RAV + RBV – P.L – W = 0
RAV + RBV = P.L + W..........(i)
Taking moment about point A,
P.L × L/2 + W × 2L – RBV × 3L = 0 ........(ii)
RBV = P.L/6 + 2W/3
Put the value of RBV in equation (i)
RAV = 5P.L/6 + W/3.