Does anyone know how to use Centered Finite Difference Method (CFD) in MATLAB to simulate the deflection of a simply supported beam which has this deflection formula d2y/dx2=(-q/2*(x^2-L*x))/(2*E*I)
note1: q = load density (N/m), L= lenght of the beam (m) , E= young's modolus (N/m2), I= moment of inertia =wh^3/12 where w=width of beam & h= height of beam