There are two bodies colliding Simulate the collision phenomena by num

In summary, the conversation is about simulating a collision between two bodies using numerical integration. The goal is to confirm the conservation of total kinetic energy without considering damping forces and to show the reduction of kinetic energy with damping. The equations used for the simulation are mx''(t)+kx(t)=0 and x''(t)+(w_n)^2x(t)=0, with a general solution of x(t)=A_1e^(l w_n t)+A_2e^(-l w_n t). The attempt at a solution involves assuming one mass has infinite mass and using Runge Kutta through Matlab. However, there is uncertainty about arranging the differential equations for this problem and proving the conservation and reduction of kinetic energy.
  • #1
max1546
8
0

Homework Statement


There are two bodies colliding
Simulate the collision phenomena by numerical integration.
(1) Confirm that the total kinetic energy is conserved if you ignore the damping forces.
(2) Show that the total kinetic energy is reduced through collision if there exists any damping.
http://img208.imageshack.us/img208/6222/springzj.jpg

Homework Equations


mx''(t)+kx(t) = 0
x''(t) + (w_n)^2 x(t) = 0
x(t) = A_1 e^(l w_n t) + A_2 e^(-l w_n t)


The Attempt at a Solution


I assumed that the second mass does not have any spring and infinite mass(wall)
Then used Runge Kutta through Matlab
===========
function Y=Func(X)
% X=(x,y), Y=(Dx,Dy)

m = 100;
k = 20;
c = 10;

x=X(1);
y=X(2);


Dx = y;
Dy = (- k* x - c* y)/m ;

Y=[Dx, Dy];

end
========
I am not sure how to arrange differential equations for this problem case in general.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Also, I am not sure how to prove the conservation of kinetic energy and the reduction of it.Any help will be appreciated.
 

Related to There are two bodies colliding Simulate the collision phenomena by num

1. What is a collision simulation?

A collision simulation is a scientific method of replicating and studying the physical interaction between two bodies in motion. It involves using mathematical equations and computer algorithms to predict and visualize the outcome of a collision between two objects.

2. Why do scientists use collision simulations?

Scientists use collision simulations to better understand and predict the behavior of objects in motion, especially in situations where conducting real-life experiments is not feasible or safe. It also allows them to observe and analyze the effects of different variables on the outcome of a collision.

3. How accurate are collision simulations?

The accuracy of a collision simulation depends on the quality and precision of the data and equations used in the simulation. In most cases, simulations can accurately predict the outcome of a collision, but there may be slight discrepancies due to factors such as imperfections in the data or limitations in the simulation methods.

4. What are some real-world applications of collision simulations?

Collision simulations have a wide range of applications in various fields, such as physics, engineering, and computer graphics. They are used to design and test new products, study the effects of collisions in sports and transportation, and even in video game development to create realistic virtual environments.

5. Can collision simulations be used to predict the outcome of car crashes or other accidents?

Yes, collision simulations can be used to simulate and analyze the outcome of car crashes or other accidents. By inputting data such as vehicle speed, mass, and impact angle, scientists can predict the movement and deformation of the vehicles involved and assess the potential injuries and damage that may occur.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Classical Physics
Replies
0
Views
358
  • Mechanical Engineering
Replies
2
Views
1K
  • Advanced Physics Homework Help
Replies
7
Views
1K
  • Programming and Computer Science
Replies
21
Views
3K
  • Introductory Physics Homework Help
Replies
20
Views
3K
  • Advanced Physics Homework Help
Replies
5
Views
3K
  • Programming and Computer Science
Replies
15
Views
2K
  • Advanced Physics Homework Help
Replies
1
Views
5K
  • Advanced Physics Homework Help
Replies
2
Views
4K
Back
Top