Contents    Page-10    Prev    Next    Page+10    Index   

Arithmetic Expressions as Trees

Arithmetic expressions can be represented as trees, with operands as leaf nodes and operators as interior nodes.


y = m * x + b        (= y (+ (* m x) b))