Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Math 104A, Fall 2011 Introduction to Numerical Analysis
 

Summary: Math 104A, Fall 2011
Introduction to Numerical Analysis
Guidelines for Programming Assignments
Instructor: Jingrun Chen.
Office: South Hall, 6705.
E-mail: cjr@math.ucsb.edu
URL: http://www.math.ucsb.edu/~cjr
As we advance in the course, the assignments become more computationally oriented. Part of
the objectives of this course will be to develop adequate programming style and techniques. As
important as these will be the presentation of numerical results in a manner that is clear and
effective.
Programming
Your programs should be written with the reader in mind. This reader might be your professor, your
boss, or it might even be you, two months after you wrote it. For this reason, your program should
be well documented, and should be written with a good programming style. The general principle
is that whoever reads your code should not have to go through all the computer instructions in
order to know what the program does. This comes from practice, but there are several general
principles.
The variables you use should have names that hint at what the values represent. For example,
use names as length, height, and VolumeOfSphere, as opposed to y, yy, and yyy.

  

Source: Akhmedov, Azer - Department of Mathematics, University of California at Santa Barbara

 

Collections: Mathematics