ESc101N Laboratory Assignment Tuesday of week of 16/8/04 PROBLEM: Write a program (with one class and that too having only the "main" method) to compute the solution of system of 3 linear eqautions, A.x = b on three variables using Cramer's rule. You may assume that coefficient matrix is non-singular. Details: 1) You may read the input in row-major order (a11, a12, a13, a21, a22, a23, a31, a32, a33) using getInteger method of InputBox class. You can assume that input matrix is non-singular. 2) Cramer's rule is described below: Let a1, a2, a3 denote the first, second, and third column vectors of A respectively. So A = [a1 a2 a3]. Let D1 denote the determinant of matrix [b a2 a3], Similarly determinants of [a1 b a3] and [a1 a2 b] are denoted by D2 and D3 respectively. Finally let D may denote the determinant of A. Then j-th component of the solution is xj = Dj/D 3) Note that D and Dj's are integers so in their computation you must use integer variables (say int). But when you compute Dj/D the result will be real (non-integer) in general. So you must use float or double variable to store it. 4) Use OutputBox class to print the result.