Appendix MATLAB reference codes for the simply supported beam