Speed distance velocity and other headaches

Thinker
Unregistered
 
Post: #1
Hi all.

I need to calculate the speed an object needs to move at to get to a certain point over a period of time at a constant acceleration

I have

Vo - initial velocity
Xo - start point
X- end point
a - constant acceleration
t - time

So I need to know the velocity if I am going to add a constant acceleration so the object will get from point Xo to X in the set time.


I also need to know how you calculate the following in a simple formula:

(((((1+2)+3)+4)+5)+6)

Thanks

Huh
Quote this message in a reply
Kjurtyl
Unregistered
 
Post: #2
Quote:(((((1+2)+3)+4)+5)+6)


Why can't you just remove the brackets?
Or are you trying to go for something like recursion (better off going from 6 to 1)?
Or a for loop?

(somewhere above)
result = 0

for(x=1;x<7;x++) {
result = result + x
}
Quote this message in a reply
Thinker
Unregistered
 
Post: #3
Sorry, the brackets were unnecessary. I want to work out how much constant acceleration was added to an object over a period of time
Quote this message in a reply
Kjurtyl
Unregistered
 
Post: #4
To answer to your initial question,

x = x0 + v0*t + (a*t*t)/2

So if you know t, x, a and x0, you can find v0.

Which would be the initial speed of the object in order to reach x from x0 under acceleration a for time frame t.

If you want to know other quantities remember these relationships:
x = v*t
v = a*t

- Kjurtyl.
Quote this message in a reply
Thinker
Unregistered
 
Post: #5
Thanks, I will try it out.

I figured out the other one:

if a = acceleration constant and t = the number of times the acceleration is applied then

((a+(a*t))/2)*t
Quote this message in a reply
Member
Posts: 177
Joined: 2002.08
Post: #6
The sum of all numbers from 1 to X is (X*(X+1))/2.
Quote this message in a reply
Thinker
Unregistered
 
Post: #7
Thanks Mark
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenGL Velocity and Grouping of Lines (C++, Xcode) TheThirdL3g 2 3,556 Jul 29, 2010 01:28 PM
Last Post: SethWillits
  Fast Distance formula? mikey 11 7,963 Nov 23, 2009 10:43 AM
Last Post: mikey
  calculating X and Y coordinates w/ an angle and distance ferum 13 15,511 Jun 25, 2008 10:53 PM
Last Post: rosenth
  Modelling Tank Velocity Danny77uk 5 5,838 Feb 7, 2008 02:24 AM
Last Post: Danny77uk
  Signed distance fields imikedaman 16 9,654 Jul 20, 2007 07:13 PM
Last Post: imikedaman