In this paper,a comparative analysis of two beams’deflections,one supported-embedded beam and a bi-supported beam,is presented.For such comparison,first the respective second-order linear Ordinary Differential Equations(ODEs)were obtained.Along with the boundary conditions,there are two Boundary Value Problems(BVPs),making it possible to perform their numerical and analytical solutions.For numerical solutions,a Matlab algorithm was implemented based on the Finite Difference Method(FDM).The analytical solutions were also obtained for comparison with the numerical ones and with the validation method.In the end we analyzed the shapes of the elastic lines of the two beams caused by the loads coming from the weight of each one.