Program to handle the Arithmetic in the Row Reduction of a Linear System VisualBASIC version (c)1999, Glyn George. Linear System: Row 1: 1/1 -2/1 1/1 3/1 Row 2: 2/1 -3/1 3/1 7/1 Row 3: -5/1 10/1 -2/1 -12/1 Row 4: 3/1 -6/1 -1/1 5/1 ----------------------------------------------------------------------------- Selected row operation: Subtract 2 / 1 times row 1 from row 2 . Linear System: Row 1: 1/1 -2/1 1/1 3/1 Row 2: 0/1 1/1 1/1 1/1 Row 3: -5/1 10/1 -2/1 -12/1 Row 4: 3/1 -6/1 -1/1 5/1 ----------------------------------------------------------------------------- Selected row operation: Subtract -5 / 1 times row 1 from row 3 . Linear System: Row 1: 1/1 -2/1 1/1 3/1 Row 2: 0/1 1/1 1/1 1/1 Row 3: 0/1 0/1 3/1 3/1 Row 4: 3/1 -6/1 -1/1 5/1 ----------------------------------------------------------------------------- Selected row operation: Subtract 3 / 1 times row 1 from row 4 . Linear System: Row 1: 1/1 -2/1 1/1 3/1 Row 2: 0/1 1/1 1/1 1/1 Row 3: 0/1 0/1 3/1 3/1 Row 4: 0/1 0/1 -4/1 -4/1 ----------------------------------------------------------------------------- Selected row operation: Divide row 3 by 3 / 1 . Linear System: Row 1: 1/1 -2/1 1/1 3/1 Row 2: 0/1 1/1 1/1 1/1 Row 3: 0/1 0/1 1/1 1/1 Row 4: 0/1 0/1 -4/1 -4/1 ----------------------------------------------------------------------------- Selected row operation: Subtract -4 / 1 times row 3 from row 4 . Linear System: Row 1: 1/1 -2/1 1/1 3/1 Row 2: 0/1 1/1 1/1 1/1 Row 3: 0/1 0/1 1/1 1/1 Row 4: 0/1 0/1 0/1 0/1 ----------------------------------------------------------------------------- Selected row operation: Subtract 1 / 1 times row 3 from row 1 . Linear System: Row 1: 1/1 -2/1 0/1 2/1 Row 2: 0/1 1/1 1/1 1/1 Row 3: 0/1 0/1 1/1 1/1 Row 4: 0/1 0/1 0/1 0/1 ----------------------------------------------------------------------------- Selected row operation: Subtract 1 / 1 times row 3 from row 2 . Linear System: Row 1: 1/1 -2/1 0/1 2/1 Row 2: 0/1 1/1 0/1 0/1 Row 3: 0/1 0/1 1/1 1/1 Row 4: 0/1 0/1 0/1 0/1 ----------------------------------------------------------------------------- Selected row operation: Subtract -2 / 1 times row 2 from row 1 . Linear System: Row 1: 1/1 0/1 0/1 2/1 Row 2: 0/1 1/1 0/1 0/1 Row 3: 0/1 0/1 1/1 1/1 Row 4: 0/1 0/1 0/1 0/1 ----------------------------------------------------------------------------- Program execution terminated.