Example 1 — Order of computation
EasyProblem
A spreadsheet has Profit = Revenue − Cost, Revenue = Price × Units, Cost = Units × 2. Draw the dependencies and find what must be computed first.
Solution
-
Each variable's formula names the variables it directly depends on — draw an arrow from each input to it.
Name the structure before touching arithmetic — that is what makes the right method obvious.
-
Ask the recognition question: Are you mapping which variables directly influence which others with directed arrows?
If the answer is yes, the concept applies; the cue, not a keyword, decides the method.
-
PriceRevenue, UnitsRevenue, UnitsCost, RevenueProfit, CostProfit.
The rule is chosen only after the structure matches, so the steps mean something.
-
Inputs Price and Units have no incoming arrows, so they're computed first, then Revenue and Cost, then Profit.
Keep units, shape, or answer form tied to the story so the work does not become symbol pushing.
-
Check the answer against the original question.
It should fit the mental model — arrows from cause to effect. If it does not, revisit the recognition step before changing the arithmetic.
Answer
Compute Price, Units → Revenue, Cost → Profit
Takeaway: Arrows point to dependents; nodes with no incoming arrows are the starting inputs.