solve x''(t) =(q E/m) (1-x(t)/d), x(0) = 0, x'(0) = 0