Write a computer program to simulate this two-level system

Assignment Help Mechanical Engineering
Reference no: EM131339811

A computer simulation of a two-level system Quantum statistical mechanics: A spin in a magnetic field

Consider the same magnetic moment with spin-one-half in a magnetic field that we looked at in an earlier problem. The units of the magnetic field are again chosen such that the energy of the system is just
E = -hσ

The system is in contact with a heat reservoir at temperature T. For this problem, instead of doing an analytic calculation, we will carry out a computer simulation using the Monte Carlo method. Although this might seem to be the hard way to do it, we will see later that the method can be generalized to solve problems that do not have analytic solutions.

1. Write a computer program to simulate this two-level system. The program should calculate the thermal probability of being in each state, as well as the average magnetization and the magnetic susceptibility. Have the program print out of the theoretical values for comparison.

2. Use your program to calculate the magnetization and magnetic susceptibility for a set of ‘interesting' values of the magnetic field and temperature.

Reference no: EM131339811

Questions Cloud

Vertical integration of the hospital and physicians : Compare advantages and disadvantages of the vertical integration of the hospital and physicians' practice, including economic factors that should be considered. Then, recommend strategies for the organizational integration of the hospital and prac..
Maintaining long-term professional relationships : One of the most important aspects of negotiating with someone or a business that you have a long-term and on-going relationship with is maintaining that relationship post-negotiation. Consider the following negotiation:
Integumentary and musculoskeletal systems : Answer the following questions about the integumentary and musculoskeletal systems, and the 10,000 and 20,000 codes: Why is knowing the guidelines for these sections so important? Give examples of your answer with proper codes
How can families created following second marriages : Using the family structural theory (see the textbook as a model) how can families created following second marriages learn to function as one?
Write a computer program to simulate this two-level system : Use your program to calculate the magnetization and magnetic susceptibility for a set of ‘interesting' values of the magnetic field and temperature.
Boeing aero magazine article on angle of attack : According to the Boeing Aero Magazine article on Angle of Attack (AOA), when is AOA good to use in commercial airliners? How is it useful in Military fighter jets? Comment on how you have used AOA in your own flying.
What are the primary training objectives : In reference to Developing a Tabletop Training Exercise for my Final Project Palacios, TX Community? What are the Primary Training Objectives?
Do you find to be the most helpful and effective : Which theoretical perspective, that guides the nursing process with assessment of the family, do you find to be the most helpful and effective? Why is this theory more appealing to you than the others?
Bioremediation strategy at hazardous waste site : What are the factors involved in selecting a bioremediation strategy at a hazardous waste site? Discuss the two most limiting factors in the use of bioremediation at a site.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Determine the factor by which the resistivity given

Determine the factor by which the resistivity given in Ω · m should be multiplied by in order to obtain the resistivity in Ω · cmil/ft.

  The armature of a variable-speed electric motor

Find the speed range over which the amplitude of the fluctuating force transmitted to the foundation will be larger than the exciting force

  An insulated piston-cylinder device initially contains 9647

an insulated piston-cylinder device initially contains 9.647 lb of air at 20 psia and 60ordmf. then 1000 btu per lb of

  Select minimum length boom required to safely hoist load

25-ton truck-mounted hydraulic crane is being used on a construction site. - Use given Table crane data to select the minimum-length boom required to safely hoist the load.

  A student plays two notes on the piano keyboard

a student plays two notes on the piano keyboard simultaneously. the white key has a frequency of 352 hz and the black

  Air enters a heating section at 1 atm 15degc and 30 percent

air enters a heating section at 1 atm 15degc and 30 percent relative humidity at a rate of 4 m3min and it leaves at

  A three-point bending test is performed on a spinel mgal2o4

a three-point bending test is performed on a spinel mgal2o4 specimen having a rectangular cross section of height d 3.8

  Determine the mass of the air-initial temperature of the air

Air exerts a pressure of 900KPa within a 0.45 cubic meter container of fixed volume. It is cooled such that the pressure falls to 3.25bar. The temperature of the air is then measured and was found to be 285C. Determine the mass of the air, the initia..

  Estimate the torsional rigidity of a rectangular shaft

Estimate the torsional rigidity of a rectangular shaft 2a × 2b using as a coordinate function cos (πx/2a) cos (πy/2b). What is the maximum stress? Get D/G for a/b = 1 and a = 1.

  What must be its minimum yield strength

A steel alloy to be used for a spring application must have a modulus of resilience of at least 2.07 MPa (300 psi). What must be its minimum yield strength?

  Knowing that the allowable maximum shearing stress in shaft

a solid shaft ae transmits 100 hp from motor m to machines connected to gears g and h. knowing that the allowable

  Calculate the mass absorption coefficient for a solution

Calculate the mass absorption coefficient for a solution prepared by mixing 11.00 g of Kl with 89.00 g of water.

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