Computer Laboratory

:: Home : CV : Teaching : Research : Publications : Presentations : Leisure ::

### Study Materials

• C programming language - Kerninghan and Ritchie.
• Computer Oriented Numerical Methods - V. Rajaraman.
• Computational Physics - D.Walker.

### Topics

• Language: Constants and variables. Assignment and arithmetic expressions. Logical expressions and control statements, loops, array, input and output statements (with I, F and E formats), function subprogram, subroutine.
• Numerical analysis: Computer arithmetic and errors in floating point representation of numbers, different numerical methods for the following problems: (Group-A)
• Sorting: arranging in ascending/descending order.
• Read N numbers ,find their mean, median, mode.
• Find whether a number is prime, factorize a number.
• Solution of a quadratic equation with real / complex roots.
• Sum of different types of series term by term with a specified accuracy.
• Simple matrix operations (addition, subtraction, multiplication, transpose).
(Group-B)
• Solution of simultaneous linear equations by Gauss-Siedel method.
• Least square fit of a given set of data to a straight line, application to exponential ( y=aex) and power ( y=axb) laws.
• Finding zeroes of a given function by the method of bisection and Newton-Raphson.
• Interpolation by Lagrange's method.
• Integration by trapezoidal and Simpson's rule.

### Remarks

• Question Set for a few years.