Accelerometr for calculating throw distance.

I can tell you the final coordinates of ball if it started to with V=0, in (0;0) point, and i doesnt spin. (I admin i forgot that the ball can spin : ((( it would be necessary to add gyroscope sensor).
s=(at^2)/2

s=s1+s2+s3+s4 ...
s=((t^2)/2)(a1+a2+a3+a4+...an)
for x axis
s=((0.1)^2)/2)
(0+0+0.5+1+8+0)
for z and y its similarly

For throwing a ball the readings from sensor would be something like this:
10/2/15 its accerating
8/2/10 its till held by a throwing hand
9/1/12
4/0/8 / now accelerating its over, flight phase begins, it has some Vo, and now gravity and air resitance doing their job. (i could stop measuring if i would now the air resitance coefficient for ball. For small velocities the air resistance could be constant)
0/-2/4
-2/-2/-1
-2.5/-1/0
-1.5/0/-3
-1/0.5/-4
0.5/0/5/-7
0/0/20 now it hits a floor and I stop measuring