Question: Link to the Java code and JUnit Test: https://drive.google.com/open?id=0BwuDVy83jWPuYk8wc1lxOWpQcjQ Problem b (PA3b.java) You are to first implement a class named LinearEquation for a 2x2 set

Link to the Java code and JUnit Test:
https://drive.google.com/open?id=0BwuDVy83jWPuYk8wc1lxOWpQcjQ
Problem b (PA3b.java) You are to first implement a class named LinearEquation for a 2x2 set of linear equations: ax + by- e cx+dy = f ed-bf ad - bc x= af - ec ad-bc y= The class has two constructors to provide the equation parameters (a-f), six getter methods for these parameters, a method to determine if the linear system is solvable (i.e. whether the denominator of the x/y equations equals o), and methods to get x/y (or null, if the system isn't solvable) You must also write a program that takes the parameters (a-f) via command-line arguments, validates the input, and outputs either an error (due to invalid inputs or a non-solvable system) or the solution (with three decimal places of precision). For example, consider the following runs... $ java edu.wit.cs.comp1050.PA3b Please supply 6 numbers (a-f). $ java edu . wit . cs.complese . PA3b 1.0 2.0 2.0 4.0 4.0 5.0 The equation has no solution. $ java edu.wit.cs.complese . PA3b 9. 4.0 3.0-5.0-6.0-21 , Solution: x--2.e0e, y-3.00e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
