| |
|
MATH 417-501: Numerical Analysis I
Fall 2006 Lab Homepage
Instructor: Prof. Wolfgang Bangerth
Time and place: TR 12:45 PM - 2:00 AM, BLOC 156
Course webpage: Math 417-501 Numerical Analysis I
Teaching assistant:
Computer lab time and place: W 12:40 PM - 1:30 PM, BLOC 130
Office hours: M 1:30 PM - 2:30 PM or by appointment
Homework Assignments
Lab files
- How to write the report?
Once you get your code running you should send your program to me
by e-mail for the given programming assignment.
You don't have to write and hand in your source code in the report.
Each report should include:
- Description of the problems in the assignment.
- Test results for each problem.
- Discussion of the results.
The format of your report should be a pdf-file or MS-word file.
In test results for each problem, you may include the tables, figures,
and graphs to present your results in reasonable ways.
In addition you can attach different tests, maple/matlab/mathematica worksheets
and everything that may seems related to the problems.
Please print out your report (pdf-file or MS-word file)
and submit it in the class and send me your programming source code
(e.g., c++-file, c-file, fortran-file, matlab-file, maple-file etc.) by email
in order to check that your programs work correctly.
Links
Connecting to the Calclab machines:
-
Using X-Win from TAMU open access labs:
-
Start X-Win: Start > Programs > Communications > X-Win, and then
-
Start an X session on Calclab: right-click X-Win on the taskbar > Sessions
>Calclab1 (2,3 or 4)
-
Using Secure Shell (with secure shell you can also connect to the machines
in BLOC126):
-
From Unix/Linux terminal use:
ssh username@bloc126-xx.math.tamu.edu,
where 'username' is your username and
'xx' is the number of the computer - from 01 to 24;
-
From TAMU open access labs use:
Start > Programs > Communications > TeraTermPro SSH;
Transfering files to/from Calclab:
-
From a terminal/command prompt use: ftp calclab1.math.tamu.edu, or
-
From TAMU open access labs use:
Start > Programs > Communications > Winsock FTP;
Some usefull Unix/Linux shell commands:
-
'ls' - list the files in the current directory
'ls -la' - list all files in the current directory using
long listing format;
-
'pwd' - print working (current) directory;
-
'mkdir programs' - create a new subdirectory 'programs' in the current
directory;
-
'cd programs' - change the current directory to 'programs';
-
'cd ..' - change to the parent directory;
-
'cd' - change to your home directory;
-
'man command' - display the on-line manual pages for 'command'
(e.g. 'man ftp', 'man telnet', 'man ls', etc.);
Some text editors:
-
kwrite: KDE Menu > Applications > Advanced Editor;
-
emacs: KDE Menu > Applications > Emacs;
Compiling programs:
| C |
gcc program.c or gcc -lm program.c |
| C++ |
g++ program.cpp |
| Fortran |
g77 program.f |
To run the program type: ./a.out
|