Deformable solids matlab code and report

Pleaase read the attachment first “I have 4 different solutions for this project that can help you”  The computing project Plane Beam concerns the solution of the problem of a prismatic beam subjected to a variable transverse load. The goal is to write a MATLAB program that will allow the solution for a variety of load distributions and for all possible boundary conditions (i.e., fixed, simply supported, or free at either end).  After the Matlab code you have to write a report.