Introduction - If you have any usage issues, please Google them yourself
Using the Matlab program given below, develop a program for one-dimensional elasticity. The program should be able to treat an arbitrary number of elements. Use the penalty method to enforce the essential boundary conditions. Use two-node linear elements.