Course Title: |
**Introduction to Scientific Computing
using C
** |

Course Number: |
MATH 2160 - 1 |

Instructor: |
Andrejs Treibergs |

Home Page: |
`http://www.math.utah.edu/~treiberg/M2160.html` |

Place & Time: |
M, W, F, 12:55 - 1:45M in LCB 115 |

Office Hours: |
11:45-12:45 M, W, F, in JWB 224 (tent.) |

E-mail: |
`treiberg@math.utah.edu` |

Prerequisites: |
Math 1210 or consent of instructor. |

The objective of this class is to learn to use the computer as
a tool for thinking about and solving mathematics problems.
We will use the C programming language. The programming
notions will be discussed as they are needed in mathematical
appications.

The following mathematical topics will be covered:

- summation of infinite series;
- elementary number theory (checking primality, factorization, Euclid's algorithm);
- finiding zeros of functions (biscetion method, Newton's method); numerical integration (Riemann sums, trapezoid method, Simpson's method);
- matrices and linear algebra (solving linear systems - Gauss elimination, finiding inverses, calculation of determinants, Cramer's rule);
- various geometric problems (as illustrations of using structures and functions in C).

** Note to students who want to use their personal computers: **
If you are using linux operating system, it comes with a C
compiler (GNU gcc), so you are ready to go.

If you are
using some flavor of Windows, I know of two C compiler
packages which are freely available on the internet: `djgpp` (a port of GNU gcc
to windows) and lcc.
See also the system for windows CYGWIN `http://www.cygwin.com/`.
Since I don't use Windows and have not tried these, you're on your own.

You will be asked some mathematical questions on each assignment. The solutions will require mathematical explanations as well as C programs. The due dates are stated on the assignments. Late work will be accepted up until the instant that solutions are posted. I expect to post solutions on the Tuesdays after the due date at about 5:00 pm. You will only receive credit for programs that run correctly.

## Lecture Notes.

- First Week Examples
- Second Week Examples
- Third Week Examples
- Fourth Week Examples
- Fifth Week Examples
- Sixth Week Examples
- Seventh Week Examples
- Eighth Week Examples
- Ninth Week Examples
- Tenth Week Examples
- Eleventh Week Examples
- Twelvth Week Examples
- Thirteenth Week Examples
- Fourteenth Week Examples
- Fifteenth Week Examples

This course was developed by Prof. Milicic. Here are his home pages for previous M2160 courses:

### Spring Semester 2005

### Spring Semester 2004

Last updated: 1 / 16 / 6