4. Backtracking 2 step diagram variations

4.1. Build the expression diagram

The python file, to make a 2-step backtracking diagram of 1 row that builds the expression, is below.
The 2 custom python modules required are:

bt2_bldexp_ran_q

bt2_bldexp_ran_ans


4.2. Build the expression diagram with inverse operations

The python file, to make a 2-step backtracking diagram of 1 row that builds the expression along with the inverse operations, is below.
The 2 custom python modules required are:

bt2_bldexpInv_ran_q

bt2_bldexpInv_ran_ans


4.3. Build the diagram from the expression

The python file, to make a 2-step backtracking diagram of 1 row from the expression, is below.
The required LaTeX files are below. The diagram template is the same as used above.
The 2 custom python modules required are:

bt2_fromexp_ran_q

bt2_fromexp_ran_ans


4.4. Build the diagram from the equation

The python file, to make a 2-step backtracking diagram from the equation, is below.
The 2 custom python modules required are:

bt2_fromeq_ran_q

bt2_fromeq_ran_ans


4.5. Blank diagram

The python file to make a 2-step backtracking diagram is below.
The 2 custom python modules required are:

blank