Matlab code that will calculate the bending moment and shearforce diagrams for the attached file.
It must be possible to input lengths,udl values fro each element and the programme must calculate the reaction forces at A,B,C, the moments at A,B,C and must use the cross method of moment distribution.