Question: Develop a Matlab model for the trajectory of a single particle with velocity v = {Vx, Vy} in a two dimensional square box. Treat
Develop a Matlab model for the trajectory of a single particle with velocity v = {Vx, Vy} in a two dimensional square box. Treat the collisions with the walls of the box as elastic, so that when a particle collides with a wall, the sign of its velocity component in the direction normal to the wall is inverted. Calculate and plot the total impulse J(t) = Ap on one of the walls as momentum kicks from the particles build up over time, where Apa is the change in momentum of the wall due to one collision. You are free to choose the mass m of the particle as you wish. Use this to estimate the average force (F) = J(At)/At on the wall, where At is the total evolution time of the simulation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
