Explicit Euler - study case

1D spring: Analysis of the system energy