Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Cross Multiplication

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.53 sec, absolute running time: 0.34 sec, cpu time: 0.01 sec, memory peak: 5 Mb, absolute service time: 0,98 sec 
edit mode |  history  | discussion
Equations look like:
ax + by + c = 0
px + qy + r = 0

 Now enter a,b,c,p,q,r:

 After entering the coefficients, equations look like:
(6)x +(-1)y+(-1) = 0
(3)x +(2)y+(-13) = 0
The solutions are:
x = 1
y = 5