This is the the question we are ask to do
The following systems of equations is easy to solve
2x+ y = 18
3x + 2y = 30
by graphing, by substitution, or elimination.The solution (6,6) is easily...
Type: Posts; User: soso84
This is the the question we are ask to do
The following systems of equations is easy to solve
2x+ y = 18
3x + 2y = 30
by graphing, by substitution, or elimination.The solution (6,6) is easily...
I actually want to print the output of the sample i have , i.e the solution to the matrix where A=[2 1;3 2] and b=[18;30] and and A^-1*b=[6;6] but i want the answer to 7 decimal places.Thanks
I am having problems rounding to 7 decimal places, here is the code
import java.text.DecimalFormat;
public class GaussianElimination {
private static final double EPSILON = 1e-7;
//...