MML Discourse archived in May, 2026

Defining an expression graph

mark

Draw the expression graph for

x^3 - 2y^2.

Then, perform forward propagation assuming the input values

x = -1 \text{ and } y = 3.
User 009

Graph:

x x pow3 pow(3) x->pow3 y y pow2 pow(2) y->pow2 c2 2.0 mul × c2->mul sub - pow3->sub pow2->mul mul->sub

Forward:

x x val=-1 pow3 pow(3) val=-1 x->pow3 y y val=3 pow2 pow(2) val=9 y->pow2 c2 2.0 mul × val=18 c2->mul sub - val=-19 pow3->sub pow2->mul mul->sub