Solve Using Matlab Program

The exercise asks me for a matlab script code for this exersise, where it should to shows me the graphs the path x (t), the velocity u (t), the current i (t) through the coil, the electric force on the cylinder Fe (t), and the electromotive force e (t) induced on the coil.