Write Molecular Dynamics Code Constant Force Run Code Initial Position X 6 Initial Velocit Q37085884

Write a molecular dynamics code for a constant force.

Run you code with initial position x=6, initial velocity v=-4,(constant) force F=9, mass m=18, time step dt=0.01, and N-=2000time steps. What is the final time at the end of your simulation?What is the final velocity your mass attains? Does it agree withthe formula you know from classical mechanics for constant force(constant acceleration)? What is the final position your massattains? Does it agree with the formula you know from classicalmechanics for constant force (constant acceleration)? Make a plotof x(t).

***************** the language used is C. And pleaseonly help if you know how to do

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.