Accelerometer problems

How to use the accelerometer to check the distance and why the acceleration data and velocity data is incorrect?

Could you elaborate on what you mean by incorrect?

In terms of accelerator to distance the simple answer is the equation (a/2)t^2 but that is too simplistic and doesn’t account for how noisy accelerometers are.

There have been quite a few indepth discussions on the matter at this thread here
https://vexforum.com/t/robot-position-calculation-using-simplified-filter-smoother/30399/1

Thank you

The distance (x,y) ,acceleration , velocity and angle are incorrect.Sorry for asking you so many problems.