- #1
Four
- 35
- 0
Hi, I'm trying to solve the following equation
y'' + by' = a
But my answer doesn't make sense:
The question:
an object is flying through space, with velocity could be approximated as:
v_next = v_current + a*dt - damp*v*dt
dt - time increment taken repetitively
a - acceleration
damp - a constant
For large dt the approximation is inappropriate, find an equation that will do for large dt.My go:
it looks like the above equation is "similar" to
x'' = a - damp*x'
x'' + damp*x' = a
part 1: x_c
[tex]x'' + damp*x = 0 => r*r + damp*r = 0; r = 0, r = \frac{-1}{damp}[/tex]
[tex]x_c = c_1 + c_2e^{\frac{-t}{damp}}[/tex]
part 2: x_p
x(t) = k*t
x'' + damp*k = a
(k*t)'' = 0
[tex]k = \frac{a}{damp}[/tex]
[tex]x_p = \frac{a*t}{damp}[/tex]
part 3:
[tex]x = x_c + x_p = c_1 + c_2e^{\frac{-t}{damp}} + \frac{a*t}{damp}[/tex]
we want x' approximation so
[tex]x' = \frac{-c_2}{damp}e^{\frac{-t}{damp}} + \frac{a}{damp}[/tex]what doesn't make sense is let's say damp -> 0 then x' should be a streight line but it doesn't look like it?
Where may I have gone wrong?
Thank you
y'' + by' = a
But my answer doesn't make sense:
The question:
an object is flying through space, with velocity could be approximated as:
v_next = v_current + a*dt - damp*v*dt
dt - time increment taken repetitively
a - acceleration
damp - a constant
For large dt the approximation is inappropriate, find an equation that will do for large dt.My go:
it looks like the above equation is "similar" to
x'' = a - damp*x'
x'' + damp*x' = a
part 1: x_c
[tex]x'' + damp*x = 0 => r*r + damp*r = 0; r = 0, r = \frac{-1}{damp}[/tex]
[tex]x_c = c_1 + c_2e^{\frac{-t}{damp}}[/tex]
part 2: x_p
x(t) = k*t
x'' + damp*k = a
(k*t)'' = 0
[tex]k = \frac{a}{damp}[/tex]
[tex]x_p = \frac{a*t}{damp}[/tex]
part 3:
[tex]x = x_c + x_p = c_1 + c_2e^{\frac{-t}{damp}} + \frac{a*t}{damp}[/tex]
we want x' approximation so
[tex]x' = \frac{-c_2}{damp}e^{\frac{-t}{damp}} + \frac{a}{damp}[/tex]what doesn't make sense is let's say damp -> 0 then x' should be a streight line but it doesn't look like it?
Where may I have gone wrong?
Thank you
Last edited: