return section;
}
private ConsCell stopCases(ConsCell term, ArrayList<String> vars) throws ParserException {
BigDec coefficient = parser.getCAS().getCoefficient(term, vars);
if (!parser.containsVariables(term, vars) || coefficient.eq(BigDec.ZERO))
return new ConsCell(BigDec.ZERO, ConsType.NUMBER, new ConsCell("{true}", ConsType.OBJECT), ConsType.CONS_CELL);
PairedList<ConsCell, ConsCell> orders = parser.getCAS().orderOfTerm(term, vars);
int remaining = orders.size();
for (String str : vars) { //Basically, if a variable's power is 1, taking its derivative gets rid of it.
if (!orders.containsKey(new ConsCell(str, ConsType.IDENTIFIER)))