1. The problem statement, all variables and given/known data The bar is shown in http://www.facebook.com/photo.php?fbid=224903064204253&set=o.21222876640&type=1&theater" and it elastic modulus of 200GPa, cross-sectional area of 0.001m^2, and density of 7860 kg/m^3. P=P0*sinΩ*t applied at point xi,wherei=1,2,3,4,5(five nodes) and respectively(P0=100 ,Ω=30 and t=10(s), t is time,P is force). the problem by commercial code such as matlab. 2. Relevant equations MX"+KX=f(t), http://emweb.unl.edu/Mechanics-Pages/Scott-Whitney/325hweb/Beams.htm" [Broken] 3. The attempt at a solution I try to write a code,but it is in web linkhttp://www.mathworks.de/matlabcentr...f-the-cantilever-beam-with-a-force-in-free-e" You can see it.And help me to modify this code.