Course Title: Introduction to Scientific Computing using C MATH 2160 - 1 Andrejs Treibergs http://www.math.utah.edu/~treiberg/M2160.html M, W, F, 12:55 - 1:45M in LCB 115 11:45-12:45 M, W, F, in JWB 224 (tent.) treiberg@math.utah.edu Math 1210 or consent of instructor.

## Syllabus for Math 2160§1.

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.

 First Homework First Homework Solutions Second Homework Second Homework Solutions Third Homework Third Homework Solutions Fourth Homework Fourth Homework Solutions Fifth Homework Fifth Homework Solutions Sixth Homework Sixth Homework Solutions Seventh Homework Seventh Homework Solutions

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.

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

### Spring Semester 2004

Last updated: 1 / 16 / 6