Calculation of support reactions for a simple two support beam