- Nick Trefethen's new online book, Approximation Theory and Approximation Practice. Each chapter can be compiled to a webpage or LaTeX via the Matlab
`publish`

command, and the figures will be generated if the Matlab toolbox chebfun is installed. - Top Ten Algorithms of the 20th Century, from the editors at SIAM News.
- Notes on floating point in java, from Princeton CS dept.
- Richard Brent's talks on factoring large integers, etc.

- Bailey's Experimental Mathematics site
- Simons Foundation article on computer-assisted proofs, and D. Zeilberger.
- Bailey and Plouffe paper on PSLQ algorithm of Ferguson, searches for integer relations amongst constants.

- Wolfram Functions site, has lots of identities.
- Digital Library of Mathematical Functions (DLMF) from NIST, also amazing resource for special functions.
- General notes on exam and study technique (geared mainly towards final exams in intermediate-level math courses).
- How to do and write proofs: notes by Larry Cusick, William Turner, and Craig Silverstein.

- Inverse Symbolic Calculator, attempts to identify a real number given to high precision.
- ARPREC online arbitrary-precision calculator from Bailey and Borwein at LBL.
- Daniel J. Bernstein's talk on RSA encryption.
- FactHacks: D. J. Bernstein's tutorial on large integer factorization and RSA, with sage/python codes.

- Always write on paper what you want to achieve, and then write out a pseduocode, before you start typing.
- Try to put all user-adjustable parameters
**once**at the top of your program (script). Make everything work from these parameters. - Write brief comments to explain what non-obvious lines do.
- Break down tasks which are repeated into
**subroutines**(in MATLAB these are called**functions**). Write out the interface (inputs and outputs) to your function on pencil and paper before you start to code it up. Document your function as you go. - For every function, write a test routine that goes along with it and verifies it does what it is supposed to do, on at least one known test case.
- Here is an example documented function, which catches bad inputs,
and has a test driver:
`zeta.m`

and`testzeta.m`

- Here is our department's LaTeX resources.
- If you have a UNIX account (you probably do as a grad student; ask your sysadmin) or linux OS then you can use a standard text editor and the latex command. If you have Mac OSX or Windows you need to install a LaTeX distribution, as described here.
- Please let me know if you are stuck with installing LaTeX. Sarunas Burdulis (our sysadmin, behing the math office) may also be able to help better than I.
- Here are sample files from X-hr of 3/27/13: test.tex, squiggle.eps, and the resulting PDF output test.pdf.
- Once you have it installed, here are some simple sample files that you can edit for your homework. They produce PS which you can convert to a PDF file.
- Here is a quick guide to all the math symbols and brackets, etc. You will need to
`\usepackage{amssymb,amsmath}`

to get some of these symbols. - Beamer is a great latex package in which to make slides for your talks.
(Although I still use Prosper).

Here's my toy files:`a.tex`

which uses EPS figure`fig.eps`

. It produces this PDF. - For drawing professional-looking figures I use xfig which you can find for linux via the usual package managers. For Mac OSX install see here and the closest on windows (unless you want to do cygwin and linux version of xfig) is winfig.

- Get yourself a website account hosted at Dartmouth if you don't already have one (you probably do if you're a grad student; ask your department sysadmin).
- Dave Raggett's simple HTML guide is all you could ever need.
- Don't forget to Reload the page in your browser to check that the updates you have made worked.
- Here
is the simplest webpage I ever made (`View Page Source' on your
browser).
It contains text and one link; you could modify it and replace
the address in the
link by href="figure1.ps" if
`figure1.ps`

is a file in the same directory, for instance a figure file printed to file from Matlab.

- Download Matlab from Dartmouth; follow the Site License Downloads link. I think you no longer need to be online to use Matlab.
- Susan A. Schwarz (email her if you have Mac OS 10.2 or earlier for install CDs) can help with installation issues.
- Notes from X-hr of 3/27/13: commands in a script intro56.m, and the function tom.m.
- M. Pilant's Matlab examples
- Bent Petersen's Matlab starter page
- Robert Higdon's nice introductory notes
- My 1-page
`intro53.m`

code, and 1-page intro code from Linear Algebra (shows more matrix stuff) - Guide from Cambridge University Engineering Department.
- Simple intro from Utah, Hany Farid's intro reference, and Gilbert Strang's intro at MIT.
- Self-guided courses from Dartmouth academic computing: Introduction to Matlab, Programming in Matlab, and Introduction to Matlab Graphics

- My MATLAB vs Python code example (tex file). The codes: printbinary.m, testprintbinary.m, and pb.py.
- Book on python programming how to run a program in different operating system environments
- Tips on fast integer operations and differences between sage and python math symbols.
- How to make a function handle in python
- You can use SAGE for free by creating an account on our local server here (access restricted to the dartmouth.edu domain). Or nationally here.
- MPMATH module for python/SAGE, basic usage
- Workshop on computing in mathematics (Dartmouth Math Dept, 2011)
- Plotting histograms in sage