Thanks Fred, although the way you've shown is the generally way to do this. with the vectors, the mathcad sheet can be given to someone with hardly any knowledge of mathcad. so the only thing they need to do is add as many point loads and UDL's to the span of the beam and the sheet will work it out.
They don't need to go into the formula's to re write the equation.
See new attachment with the original problem