Velocity and acceleration algorithm

AI Thread Summary
Equations (2) and (4) provide more accurate calculations for velocity and acceleration compared to (1) and (3) due to their use of central differences, which reduce time shift errors in the estimations. The term 7*dt in equation (4) arises from a specific finite difference method that smooths the acceleration calculation. The discussion highlights that the traditional methods (1) and (3) estimate values at half time steps, leading to inaccuracies. The Verlet algorithm is mentioned as a method that can improve these calculations. Overall, the choice of equations (2) and (4) reflects a more refined approach to numerical differentiation in physics.
cupo
Messages
1
Reaction score
0

Homework Statement



Why are (2) and (4) equations more accurately than (1) and (3) ? Why is 7*dt in (4) equation ? What kind of equations are (2) and (4) ? What method they used to write (3) and (4) equations?

Homework Equations



Velocity:
(1) v = (x - x[i-1]) / (t - t[i-1])
(2) v = (x[i+1] - x[i-1]) / (2*dt)

Acceleration:
(3) a = (v - v[i-1]) / (t - t[i-1])
(4) a = (2*x[i+2] - x[i+1] - 2*x - x[i-1] + 2*x[i-2]) / (7*dt)

The Attempt at a Solution


Verlet algorithm
Finite difference
 
Physics news on Phys.org
The problem with (1) and (3) is that there's a time shift between the input positions and the computed velocities and accelerations. E.g (1) is really estimating the velocity at step i-0.5. (2) corrects that.
(4) achieves the same result, but I'm not sure why it's quite as it is. (Shouldn't it have dt2 at the end?) If you start with the 'smoothed' acceleration expression (2*ai+1+3*ai+2*ai-1)/7 and then substitute for those ai using the forms ai.Δt = vi+.5-vi-.5 and vi.Δt = xi+.5-xi-.5 you arrive at (4) (with dt2). But why start with (2*ai+1+3*ai+2*ai-1)/7 rather than e.g. (ai+1+2*ai+ai-1)/4 I don't know.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'Calculation of Tensile Forces in Piston-Type Water-Lifting Devices at Elevated Locations'
Figure 1 Overall Structure Diagram Figure 2: Top view of the piston when it is cylindrical A circular opening is created at a height of 5 meters above the water surface. Inside this opening is a sleeve-type piston with a cross-sectional area of 1 square meter. The piston is pulled to the right at a constant speed. The pulling force is(Figure 2): F = ρshg = 1000 × 1 × 5 × 10 = 50,000 N. Figure 3: Modifying the structure to incorporate a fixed internal piston When I modify the piston...
Thread 'A cylinder connected to a hanging 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