MATH 609-602: Numerical Analysis

Fall 2005 Labs Homepage


Instructor: Prof. Wolfgang Bangerth  

Time and place: TR 9:35 AM - 10:50 AM, ZACH 104D

Course webpage: Math 609-602 Numerical Analysis


Teaching assistant: Computer lab time and place: W 1:50 PM - 2:40 PM, BLOC 126

Office hours: M 1:30 PM - 2:30 PM or by appointment


Homework Assignments

Programming 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 can be latex, MS-word or whatever you prefer. 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 and submit it in the class and send me your source code by email.


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 telnet: 
    • From a terminal/command prompt use: telnet calclab1.math.tamu.edu, or 
    • Try this link
  • 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;
Changing your password:
  • Connect to Calclab and then in a terminal use: yppasswd, or
  • If you use X-Win: KDE menu > Utilities > Change Password;
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