Code Examples: Difference between revisions

From phys660
Jump to navigationJump to search
No edit summary
Line 22: Line 22:
===Project 5===
===Project 5===
*wave_packet_cn.m
*wave_packet_cn.m
===FPU simulation and FPU1 function===


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


== Python ==
== Python ==

Revision as of 08:40, 7 April 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

Project 2

Project 3

Project 4

Project 5

  • wave_packet_cn.m

Fortran 90

Python