Find the solution to the system of linear equations. Please enter each equation on a separate line.
1.
2.
3.
Solve system of linear equations specified in the file to be uploaded. Input file format::
File must be an ASCII file.
File can contain multiple sets (systems) of equations. Each set contains a system of one or more equations to be solved.
Each set of equations is preceded by a keyword EQUATIONS (case insensitive). Anything after that keword will be ignored.
Each equation in the system set must be provided on a separate line.
Whitespaces are ignored, as are empty lines.
Output file format::
File is a comma separated ASCII file named 'equations_solution.csv'.
Each set of equations from the input will have a solution given in the output file, and will be preceded by the line containing keyword SOLUTION, followed by the sequential number of the solution.
Next line in the file will specify if the system has no solution, infinite number or a single unique solution by keywords 'NO SOLUTION', 'INFINITELY MANY SOLUTIONS' and 'SINGLE SOLUTION'.
If it is a SINGLE SOLUTION, the solution will be listed next in the file, with each variable listed on a separate line in the form <variable>=<value>
Othervise, a single line will be given starting with the keyword VARIABLES: followed by the comma separated list of all of the variables in any of the equations in the system.