Code Examples: Difference between revisions

From phys660
Jump to navigationJump to search
Line 8: Line 8:
*Project 2: chaos_balls.m
*Project 2: chaos_balls.m
*Project 3: four_atom_chain.m
*Project 3: four_atom_chain.m
*Project 4: rand_randn_test.m | [[Media:metropolis_mc_ising.m|metropolis_mc_ising.m]]
*Project 4:  
**rand_randn_test.m
**[[Media:metropolis_mc_ising.m|metropolis_mc_ising.m]]
*Project 5: wave_packet_cn.m
*Project 5: wave_packet_cn.m
*FPU simulation and FPU1 function
*FPU simulation and FPU1 function

Revision as of 15:18, 11 February 2012

MATLAB

  • MATLAB tutorial:
    • rfib.m
    • gquad_solver.m (good programming to solve quadratic equation)
    • bquad_solver.m (bad programming to solve quadratic equation)
    • TEST: Apply both qguad_solver.m and bquad_solver.m to find the roots of .
  • Project 1: radioactive_decay.m
  • Project 2: chaos_balls.m
  • Project 3: four_atom_chain.m
  • Project 4:
  • Project 5: wave_packet_cn.m
  • FPU simulation and FPU1 function

Fortran 90

Python