Rewriting Equations

Given an equation (= ?X (+ ?Y ?Z)), where each of ?X, ?Y, and ?Z could be any expression, we could use the laws of algebra to rewrite the equation as:

Assuming that the variables ?X, ?Y, and ?Z have values, we could create the first pattern using LIST:


(LIST '= (LIST '- ?X ?Y) ?Z)

or using backquote:

Backquote produces the same code as above; it quotes everything unless an item is un-quoted with a comma.

Contents    Page-10    Prev    Next    Page+10    Index