Determine stopping distance of a train - modified Euler method

AI Thread Summary
The discussion centers on solving a physics problem involving a train's stopping distance using numerical methods, specifically Euler's and modified Euler methods. The acceleration function is given, and users are attempting to integrate this to find the stopping distance, comparing their results to an analytical value of 138.7m. There is confusion regarding the application of the correct formulas for the modified Euler method, with a request for clarification on the steps taken in the calculations. Participants emphasize the importance of using the appropriate equations for the specific problem to avoid unnecessary complexity. The conversation highlights the need for detailed input to facilitate accurate assistance in solving the problem.
Alexanddros81
Messages
177
Reaction score
4

Homework Statement


12.81[/B] A train traveling at 20m/s is brought to an emergency stop. During braking,
the acceleration is a=-(7/4)+(t/16) m/s^2, where t is the time in seconds measured
from when the brakes were applied. (a) Integrate the acceleration from t=0 to
t=16s using Euler's method with Δt=2s. (b) Use the results of the integration to
determine the stopping distance of the train and compare you answer with 138.7m,
the value found analytically.

12.82 Solve Prob. 12.81 using the modified Euler method with Δt=4s

Homework Equations

The Attempt at a Solution



12.81 [/B]was handled in my previous post in this sub forum. I attach my attempt in 12.82.
I have run an online modified Euler calculator and my values are not correct.
Pytel_Dynamics048.jpg


Can you check this?
 
Physics news on Phys.org
Alexanddros81 said:

Homework Statement


12.81[/B] A train traveling at 20m/s is brought to an emergency stop. During braking,
the acceleration is a=-(7/4)+(t/16) m/s^2, where t is the time in seconds measured
from when the brakes were applied. (a) Integrate the acceleration from t=0 to
t=16s using Euler's method with Δt=2s. (b) Use the results of the integration to
determine the stopping distance of the train and compare you answer with 138.7m,
the value found analytically.

12.82 Solve Prob. 12.81 using the modified Euler method with Δt=4s

Homework Equations

The Attempt at a Solution



12.81 [/B]was handled in my previous post in this sub forum. I attach my attempt in 12.82.
I have run an online modified Euler calculator and my values are not correct.
View attachment 210017

Can you check this?

No. Type it all out and I will be happy to help. Also: you do not state what formulas you use, so it is impossible to say whether you are doing it correctly. (There are several versions of Euler-type methods---modified or otherwise---so you need to be explicit about what you mean.)
 
Last edited:
what do you want me to type out besides the formulas?
 
Alexanddros81 said:
what do you want me to type out besides the formulas?

Starting with the formulas would be nice; then we could go on from there. For instance, are you just using some form of Euler on the single ##v'(t) =a(t)## (then somehow getting ##x(t)## from ##v(t)##), or are you applying an Euler method to the 2-dimensional linear, non-homogeneous system
$$\frac{d}{dt}\pmatrix{x(t) \\ v(t)} = \pmatrix{v(t) \\ a(t)} = \pmatrix{0 & 1\\0 & 0} \pmatrix{x(t)\\v(t)} + \pmatrix{0 \\ a(t)} ? $$
 
Last edited:
So here are the formulas:

##\hat v_{i+1}=v_i+a_i Δt##
##\hat x_{i+1}=x_i+v_i Δt##

##v_{i+1}=v_i+\frac {a_i + \hat a_{i+1}} {2} Δt##

##x_{i+1}=x_i+\frac {v_i + \hat v_{i+1}} {2} Δt##

##a_i=f(v_i, x_i, t_i)##
##\hat a_{i+1}=f(\hat v_{i+1}, \hat x_{i+1}, t_{i+1})##

I have attached the theory.

Do you want to upload the book example?
 

Attachments

  • Pytel 12_7 Numerical Integration.jpg
    Pytel 12_7 Numerical Integration.jpg
    44 KB · Views: 519
  • Pytel 12_7 Numerical Integration2.jpg
    Pytel 12_7 Numerical Integration2.jpg
    38.7 KB · Views: 505
  • Pytel 12_7 Numerical Integration3.jpg
    Pytel 12_7 Numerical Integration3.jpg
    34.9 KB · Views: 491
  • Pytel 12_7 Numerical Integration4.jpg
    Pytel 12_7 Numerical Integration4.jpg
    26.9 KB · Views: 475
  • Pytel 12_7 Numerical Integration5.jpg
    Pytel 12_7 Numerical Integration5.jpg
    35.5 KB · Views: 563
  • Pytel 12_7 Numerical Integration6.jpg
    Pytel 12_7 Numerical Integration6.jpg
    36.6 KB · Views: 485
  • Pytel 12_7 Numerical Integration7.jpg
    Pytel 12_7 Numerical Integration7.jpg
    54.4 KB · Views: 479
  • Pytel 12_7 Numerical Integration8.jpg
    Pytel 12_7 Numerical Integration8.jpg
    44.9 KB · Views: 517
Alexanddros81 said:
So here are the formulas:

##\hat v_{i+1}=v_i+a_i Δt##
##\hat x_{i+1}=x_i+v_i Δt##

##v_{i+1}=v_i+\frac {a_i + \hat a_{i+1}} {2} Δt##

##x_{i+1}=x_i+\frac {v_i + \hat v_{i+1}} {2} Δt##

##a_i=f(v_i, x_i, t_i)##
##\hat a_{i+1}=f(\hat v_{i+1}, \hat x_{i+1}, t_{i+1})##

I have attached the theory.

Do you want to upload the book example?

No, do not upload anything more.

The equations you wrote above are not the best ones for YOUR problem, which has acceleration ##a = ## known function of ##t## alone. You should use the equations on page 61, but the ones you wrote above are from page 62. Actually, for the case of ##\ddot{x} = a(t)## the equations on pages 61 and 62 are mathematically equivalent, but why do more work than you need to do? Why make things more complicated than they need to be?

Anyway, if you type out (not photograph) the results of the first two or three time-steps I will be glad to review them.

Oh, and by the way: the answer to the question I asked in post #4 (but which you never answered) is YES, you are applying Euler's method to the system I wrote there.
 
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Thread 'A cylinder connected to a hanged mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top