Created
January 2, 2017 12:10
-
-
Save SiestaMadokaist/ecc2faf471ad5c6828aa53e73630cd9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path('../linear_equation', __FILE__) | |
le = LinearEquation.new do | |
x - 2.y + z = 9 | |
2.x - y = 4 | |
y + z = 12 | |
end | |
puts(le.solution) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment