Code Examples: Difference between revisions
From phys660
Jump to navigationJump to search
(→MATLAB) |
|||
Line 1: | Line 1: | ||
== MATLAB == | == MATLAB == | ||
==MATLAB tutorial== | |||
*[[Media:rfib.m|rfib.m]] | |||
*[[Media:gquad_solver.m|gquad_solver.m]] (good programming to solve quadratic equation) | |||
*[[Media:bquad_solver.m|bquad_solver.m]] (bad 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 | |||
===Project 1=== | ===Project 1=== | ||
*[[Media:radioactive_decay.m|radioactive_decay.m]] | *[[Media:radioactive_decay.m|radioactive_decay.m]] |
Revision as of 15:20, 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 <math> x^2 -(10^7 + 10^{-7})x + 1 </math
Project 1
Project 2
- chaos_balls.m
Project 3
- four_atom_chain.m
Project 4
- rand_randn_test.m
- metropolis_mc_ising.m
Project 5
- wave_packet_cn.m