Casio fx-7500G programs - Linsys v.1.0

This program solves a linear system using the Gauss elimination method. All you have to do is to insert the data, launch the solving command, and read the results.

Commands and input

Inserting is done by the "1" command (insert). Coefficients are asked one row at a time, and last coefficient must be the "known term", or right hand side of the equation. If you want to see all the coefficients inserted, you can choose the "2" command (show).

Now you can choose the "3" command (solve). You will have to wait some time if the system is big (for example 7 rows and 8 columns requires about 40 seconds to be solved). Variable name and value will appear one by one on the screen, then the program will end.

Example

Suppose you have such a system:
2x1+3x2=5
5x1-2x2=4
You will have to type these commands ("#" symbol is used here to represent the user prompt):
ROWS:?# 2
COLS:?# 3
# 1 ("INS")
---
# 2
# 3
# 5
---
# 5
# -2
# 4
---
# 3 ("SOL")
VAR N.
	0
VAL=
	1.1578...
VAR N.
	1
VAL=
	0.8947...
[END]

Notes

The expected dimensions for the system are always M rows and M+1 columns. For big systems you could run out of memory: you can try to raise the available memory using the "Defm " command. Available memory depends on how much/how big programs you have memorized in the calculator.

Program source

[Close window]