Teaching Yourself to Program
George S. Young
Professor of Meteorology
Why program?
Power. It’s that simple. By crafting a computer program to do your
drudge work, you can tackle much larger problems Since pay goes as productivity, you earn more
when you’ve got the skills to make a computer do most of your job. Anything you have to do often enough to be
bored should be programmed
Everything you need
for free!
There are free compilers, reference manuals, and tutorials for most languages available on-line. Just do a search on the name of your language, for example “ruby” or “octave”. If that doesn’t turn up anything free, then search add “free” to the search, for example “fortran free”. To find tutorials add “tutorial” to the language name, for example “octave tutorial”.
Five easy steps:
Fortran – for fast number crunching
Octave – for easy number crunching
Java – for programs to run on all operating systems
Ruby – for web server applications
§
gnu
Fortran 95
– installer at http://ftp.g95.org/g95-MinGW.exe
§
Octave
–
download installer from http://sourceforge.net/project/showfiles.php?group_id=2888
§ gnu Fortran 95 - manual at http://ftp.g95.org/G95Manual.pdf
§ Octave – manual at http://www.gnu.org/software/octave/doc/interpreter/
§ gnu Fortran 95
– tutorial at http://www.cs.mtu.edu/~shene/COURSES/cs201/NOTES/fortran.html
§
Octave
– – tutorial at http://en.wikibooks.org/wiki/Octave_Programming_Tutorial
§
http://www.ems.psu.edu/~young/meteo473/Bootcamp/
o gnu Fortran 95
· installation instructions at http://www.engineering.usu.edu/cee/faculty/gurro/Software_Calculators/Fortran_g95/g95Instructions.pdf
o Octave
·
just double-click on the installer file and
answer yes to any questions it asks
This should be early on in the manual and tutorial you downloaded.