View Single Post
  #11   Spotlight this post!  
Unread 02-08-2011, 14:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by Ether View Post
Assuming that X0 and V0 are given, and assuming that the update period dt is short enough that the acceleration is accurately approximated as a linear function of time, then the position is given by:

X1 = X0 + dt*V0 + dt2*(a1 + 2*a0)/6

X2 = X1 + dt*V1 + dt2*(a2 + 2*a1)/6

.
.
.


Xn = Xn-1 + dt*Vn-1 + dt2*(an + 2*an-1)/6
I forgot to post the computation for Vn:

Vn = Vn-1 + dt*(an+an-1)/2