# Math 481/581, Project 1

## Deadline: October 11, 2003

## Purpose

- To conduct a numerical experiment using R
- To combine the use of LaTeX, XFig and R in presenting scientific results

## Details

- Choose a problem you wish to investigate. This list contains sample problems to choose from,
but you can solve another problem that you are interested in. However, if you choose your own problem,
you should discuss it with me.
- Create one or more R input files, with suffix
**.r** which will solve the problem,
generate the graphics, etc. One of the files should be named *master.r* and will run all the code
necessary to generate your output by using the command source("master.r")
- Create a LaTeX file
*paper.tex* which will describe the results of
your experiments. Try to naturally incorporate graphics, formulas and tables into the file. Here are some
examples of uses of the techniques we have learned:
- If your topic is the ranking of poker hands then you could illustrate the various hands with graphics.
- If you are studying frequency tables, you can present the results of hist command,
in addition to presenting a table.
- If you are evaluating an integral then you should include the formula for the integral.
- If you are simulating brownian motion or random walk,
describe how the cumsum works.

Also, include at least 2 citations in your paper. They could be textbooks or Web sites.

## What to turn in?

The zip archive *project1.zip*, containing the source of all R files,
*paper.tex* and figures, should be e-mailed to the address at the bottom
of this page as an attachment.

**Important:** The subject line of your e-mail must be (no spaces please, or my mail filter may send it
to the Big Bit Bucket (-: ):
**math481:proj1**

## A note on grading

You will receive a grade by e-mail on the project. The total grade for the project will reflect your first two homework
assignments.

Marek Rychlik <rychlik@u.arizona.edu>
Last modified: Wed Aug 27 19:41:25 MST 2003