- #1
eddieparker
- 1
- 0
Hello!
I'm new to the forums, so apologies if I've put this in the wrong forum. I was debating on placing this in the 'Homework' section, but this is really just a problem I'm having with an application I'm writing, so I wasn't sure if it applied. Anyhow, please file accordingly, and I'll know better for next time.
Anyhow, it's been years since I've used my physics, and I'm quite rusty. I'm working on an application which is trying to return an acceleration for an object that is moving in a frictionless world. At any point in time, I have access to its:
- Velocity
- Position
- Goal
What I'd like to do is have the function return the appropriate deceleration such that it arrives at it's goal with zero velocity.
I'd appreciate anything from pointers to formula's, to discussions regarding possible solutions, etc.
The key thing is that I don't have access to anything save the time since the last calculation, and I'd prefer not to specify the amount of time for the deceleration to occur (that is, I'd prefer the deceleration to scale depending on the velocity).
Your help, advice, and pointers are appreciated.
Cheers!
-e-
I'm new to the forums, so apologies if I've put this in the wrong forum. I was debating on placing this in the 'Homework' section, but this is really just a problem I'm having with an application I'm writing, so I wasn't sure if it applied. Anyhow, please file accordingly, and I'll know better for next time.
Anyhow, it's been years since I've used my physics, and I'm quite rusty. I'm working on an application which is trying to return an acceleration for an object that is moving in a frictionless world. At any point in time, I have access to its:
- Velocity
- Position
- Goal
What I'd like to do is have the function return the appropriate deceleration such that it arrives at it's goal with zero velocity.
I'd appreciate anything from pointers to formula's, to discussions regarding possible solutions, etc.
The key thing is that I don't have access to anything save the time since the last calculation, and I'd prefer not to specify the amount of time for the deceleration to occur (that is, I'd prefer the deceleration to scale depending on the velocity).
Your help, advice, and pointers are appreciated.
Cheers!
-e-