Code Examples: Difference between revisions

From phys660
Jump to navigationJump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== MATLAB ==
== MATLAB ==
*MATLAB tutorial:
 
**[[Media:rfib.m|rfib.m]]  
===MATLAB tutorial===
**[[Media:gquad_solver.m|gquad_solver.m]] (good programming to solve quadratic equation)
*[[Media:rfib.m|rfib.m]]  
**[[Media:bquad_solver.m|bquad_solver.m]] (bad programming to solve quadratic equation)  
*[[Media:gquad_solver.m|gquad_solver.m]] (good programming to solve quadratic equation)
**'''TEST:''' Apply both qguad_solver.m and bquad_solver.m to find the roots of <math> x^2 -(10^7 + 10^{-7})x + 1 </math>.
*[[Media:bquad_solver.m|bquad_solver.m]] (bad programming to solve quadratic equation)
*Project 1: [[Media:radioactive_decay.m|radioactive_decay.m]]
 
*Project 2: chaos_balls.m
===Project 1===
*Project 3: four_atom_chain.m
*[[Media:radioactive_decay.m|radioactive_decay.m]]
*Project 4:
 
**rand_randn_test.m   
===Project 2===
**[[Media:metropolis_mc_ising.m|metropolis_mc_ising.m]]
*[[Media:chaos_balls.m|chaos_balls.m]]
*Project 5: wave_packet_cn.m
 
*FPU simulation and FPU1 function
===Project 3===
*[[Media:four_atom_chain.m|four_atom_chain.m]]
 
===Project 4===
*rand_randn_test.m   
*[[Media:metropolis_mc_ising.m|metropolis_mc_ising.m]]
 
===Project 5===
*[[Media:wave_packet_cn.m|wave_packet_cn.m]]


== Fortran 90 ==
== Fortran 90 ==


== Python ==
== Python ==

Latest revision as of 12:56, 15 March 2014

MATLAB

MATLAB tutorial

Project 1

Project 2

Project 3

Project 4

Project 5

Fortran 90

Python