I'm writing a computer program to calculate the order of a chemical reaction with respect to each reactant. When I do this by hand, it's easy to isolate which reactant concentration stays relatively the same while the others change. However, when you don't have an isolation method available, is there a non-guess and check way to determine rate orders?
For example, with the sample data of a 1st order reaction with respect to A and B, and second order overall
+--------+-----+-----+------+
| Trial# | [A] | [B] | Rate |
+--------+-----+-----+------+
| 1 | 1 | 1 | 10 |
| 2 | 2 | 3 | 60 |
| 3 | 3 | 2 | 60 |
+--------+-----+-----+------+
There isn't a trial with two constant values, so I'm not sure how you would programmatically determine the orders with respect to each of the reactants without manually trying every possibility until one fit (I realize that this wouldn't take too much computing time to do, but it won't scale well for multiple trials, and I also would prefer a non-brute force solution if possible). If there is no way to determine the rate with respect to each reactant, is there a way to determine the overall rate? This would greatly reduce the number of possibilities of orders when faced with larger rates