Solution: The static indeterminacy of the pin-jointed frame is =5 + 4 - 2×4=1. Since the member
BC is short by an amount of

,
therefore, apply a force
R in the member
BC such that displacement in the direction of
R is

. Thus, according to the Castigliano's theorem.