DIRECT VARIABLE EQUATION