Change Element In Array Typescript Vs Angular Velocity To Acceleration