Perform a molecular dynamics computer simulation

Assignment Help Mechanical Engineering
Reference no: EM131339907

Molecular Dynamics (MD) simulation of a simple harmonic oscillator

This assignment uses the Molecular Dynamics method, which simply consists of discretizing Newton's equations of motion, and then iterating them many times to calculate the trajectory. Write a computer program to perform a Molecular Dynamics (MD) computer simulation of a one-dimensional simple harmonic oscillator (SHO).

683_1934892d-4b25-446f-934e-4a296e61f8a8.png

[You can take K = 1 in answering the questions.]

Include a plot of the potential energy, including a horizontal line indicating the initial energy. [You will also do Monte Carlo (MC) simulations of the same models later, so remember to make your plots easy to compare.] The program should read in the starting position, the size of the time step, and the number of iterations. It should then print out a histogram of the positions visited during the simulation.

Your program should also print out the initial and final energy as a check on the accuracy of the algorithm. Don't forget to include the kinetic energy in your calculation!

1. For a starting value of x = 1.0. Try various values of the size of the time step to see the effect on the results. What happens when the time step is very small or very large?

2. Choose x = 1.0 and run the program for an appropriate value of dt. Print out histograms of the positions visited. [Later, you will compare them with you results for MC

Reference no: EM131339907

Questions Cloud

What is the percentage of sales forecasting method : What is the percentage of sales forecasting method? What are some of the limitations financial analysts should be aware of in applying this method?
What should be the mix of formats for future indycar : Describe products or companies where it might be appropriate to utilize market segmentation according to personality traits? 350 words and 3 references.
Six lessons for successful virtual teams : Write an essay that summarizes the six lessons for successful virtual teams.
Computerized machine tool-what is after-tax salvage value : Your firm needs a computerized machine tool lathe which costs $44,000 and requires $11,400 in maintenance for each year of its 3-year life. After three years, this machine will be replaced. The machine falls into the MACRS 3-year class life category...
Perform a molecular dynamics computer simulation : Choose x = 1.0 and run the program for an appropriate value of dt. Print out histograms of the positions visited. [Later, you will compare them with you results for MC
Illustrate how the statement of cash flows can be used : Illustrate how the statement of cash flows can be used as a financial planning technique.- Explain the difference between deterministic and probabilistic financial planning models.
Brief review of the theories of cognitive psychology : A brief review of the theories of cognitive psychology and their applications to learning and instruction. (Benchmarks C 3.4: Apply the theories of cognitive psychology to learning and instruction.)
File-naming conventions for four different operating systems : Consult current literature, and compose an essay outlining file-naming conventions for four different operating systems. Note the acceptable range of characters, maximum length, case sensitivity, and other details.
Firm needs computerized machine tool lathe which costs : Your firm needs a computerized machine tool lathe which costs $60,000 and requires $13,000 in maintenance for each year of its 3-year life. After three years, this machine will be replaced. The machine falls into the MACRS 3-year class life category...

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd