Cody

Problem 44775. Solve The Equation

The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return the answers for x and y. For example:

 x1 = [2 2 6];
 x2 = [1 -1 0];
 2x + 2y = 6
 x - y = 0
 x = 1.5
 y = 1.5

Solution Stats

68.52% Correct | 31.48% Incorrect
Last Solution submitted on Mar 06, 2020

Problem Comments

Solution Comments

Problem Recent Solvers19

Suggested Problems

More from this Author1

Problem Tags