Sparse Linear Systems Solver With SOR

August 5, 2008

This is a very simple Pascal program I wrote in mid 1990s, which solves a sparse NxN linear system using the Succesive Overrelaxation Method (SOR), which in turn is based on Gauss Seidel Method.
Both methods are iterative.
N is initially set at maximum …64.
You need the W factor for the SOR to complete successful. [...]

0

Tridiagonal Linear System Solver

August 5, 2008

This Pascal program is usefull in solving large tridiagonal linear systems. An example is the systems emerging from numerically integrating parabolic PDE’s by Finite Differences method.
It was ported to Turbo Pascal from a Fortran 77 program.
Its usage is very simple. All you have to do is to enter dimension of the system and the [...]

0

Turbo Editor

August 3, 2008

This is a simple text editor, called TED (Turbo EDitor). It opens text files or creates new ones in the same directory as the executable. It has a limit in the rows of the text file, but you can easily extend it by changing the appropriate variable. With small text files, ie less than 200 [...]

0

Prime numbers’ generator

August 2, 2008
Tags: ,

This is a Prime Numbers’ Generator from Integers up to 2,000,000,000, written in Turbo Pascal.
This program generates the prime numbers up to a given arithmetic limit, using 4 (four) different known methods. They are all based in modulo algebra. The methods are:

This uses the mathematical definition of a prime number to generate them. A prime [...]

0