notesonly.in

One notebook for every subject — open it anywhere.

Log in

Computational physics: numerical methods and simulations

Computational and instrumentation physics · Physics

Study notes

Problem: A ball starts at position 0 meters with a velocity of 10 meters per second. Acceleration is 0 (constant speed). Find its position after 2 seconds using a time step of 0.5 seconds. Step 1: Identify variables. Initial position x0 = 0, velocity v = 10 m/s, time step dt = 0.5 s. Step 2: Calculate position at t=0.5s. Formula: x_new = x_old + v * dt. Calculation: 0 + (10 * 0.5) = 5 meters. Step 3: Calculate position at t=1.0s. New position is 5. Calculation: 5 + (10 * 0.5) = 10 meters. Step 4: Calculate position at t=1.5s. New position is 10. Calculation: 10 + (10 * 0.5) = 15 meters. Step 5: Calculate position at t=2.0s. New position is 15. Calculation: 15 + (10 * 0.5) = 20 meters. Final Answer: The ball is at 20 meters.

← Back to topics for Physics