Molecular Dynamics MATLAB Code
Not what you're looking for?
Write the simplest possible one-dimensional "molecular dynamics code" for two particles?
I use MATLAB, so I want a MATLAB code for molecular dynamics or velocity verlet algorithm code.
I need to determinate x1, x2 and v1, v2 in different times.
Some websites may help you:
[http://www.nada.kth.se/~tomaso/miklab2007/lab2_4h1725.pdf]
http://utkstair.org/clausius/docs/che548/pdf/md_sim.pdf
I don't have experience in MATLAB, so this so difficult for me.
I tried reading about it, but I became more puzzled.
Someone help me please.
Purchase this Solution
Solution Summary
The expert examines the molecular dynamics MATLAB Code
Solution Preview
I will assume a baseline knowledge of programming concepts such as functions, variables, loops, etc. If you need some explanation of these I can help in another post. Otherwise, I will explain the attached MATLAB code where it is necessary to understand how MATLAB differs from C++ or some other programming language.
The code is based off the equation on the pdf.
In MATLAB, there is no necessity to declare the type of the variable. MATLAB internally keeps track of it. Thus, to declare a variable you simply declare it.
Example,
x = ...
Purchase this Solution
Free BrainMass Quizzes
Introduction to Nanotechnology/Nanomaterials
This quiz is for any area of science. Test yourself to see what knowledge of nanotechnology you have. This content will also make you familiar with basic concepts of nanotechnology.
Basic Physics
This quiz will test your knowledge about basic Physics.
Intro to the Physics Waves
Some short-answer questions involving the basic vocabulary of string, sound, and water waves.
Variables in Science Experiments
How well do you understand variables? Test your knowledge of independent (manipulated), dependent (responding), and controlled variables with this 10 question quiz.
The Moon
Test your knowledge of moon phases and movement.