I knew eventually I would need to use calculus to solve something, but since I never studied it in school, I'm uncertain of how to approach the problem. I've made an attempt to boil it down into something quick and simple, and any assistance would be appreciated.
An object passes by a 2 meter wide window from left to right. At the left edge of the window, the object's speed is 30 meters per second, and at the right edge its speed is 10 meters per second. The speed changes in such a specific way that the speed of the object at any point in time happens to be linear with respect to the distance that the object has traveled... For example, when the object is 0.5 meters from the left edge of the window (one quarter of the total distance), its speed is 25 meters per second (one quarter of the total deceleration).
My problem is twofold: 1) Given some number of seconds, how far has the object traveled? 2) How many seconds does it take for the object to travel the entire distance? I'm trying to work out the formulas for this so that the exact parameters can change.
This is a tricky problem because the object's current speed depends on the distance traveled, but changing the speed consequently changes the amount of time to travel the same distance, which in turn feeds back into how fast the object is moving. I'm familiar with the fundamentals of derivatives and integrals, but to my untrained eye this appears to be a recursive problem of sorts, and I'm clueless as to how to go about solving it. If someone could walk me through the logic and algorithms to sort this out, I would be very grateful.
An object passes by a 2 meter wide window from left to right. At the left edge of the window, the object's speed is 30 meters per second, and at the right edge its speed is 10 meters per second. The speed changes in such a specific way that the speed of the object at any point in time happens to be linear with respect to the distance that the object has traveled... For example, when the object is 0.5 meters from the left edge of the window (one quarter of the total distance), its speed is 25 meters per second (one quarter of the total deceleration).
My problem is twofold: 1) Given some number of seconds, how far has the object traveled? 2) How many seconds does it take for the object to travel the entire distance? I'm trying to work out the formulas for this so that the exact parameters can change.
This is a tricky problem because the object's current speed depends on the distance traveled, but changing the speed consequently changes the amount of time to travel the same distance, which in turn feeds back into how fast the object is moving. I'm familiar with the fundamentals of derivatives and integrals, but to my untrained eye this appears to be a recursive problem of sorts, and I'm clueless as to how to go about solving it. If someone could walk me through the logic and algorithms to sort this out, I would be very grateful.