% MATH3510, Midterm I
% Author:
[A, b] = chemreaction();
A\b

t = [1; 2; 1; 2];
A*t
A*t == b