using central finite difference.
at the point (1,1,1).
SELECT
RowNum,
ItemValue
FROM wct.MATRIX(
wct.GRAD(
'SELECT POWER(@x,3) / POWER(@y,2) * POWER(@z,2) + 12*@x*@y / 2*@z'
,'@x,@y,@z'
,'1,1,1'
,NULL
)
)
This produces the following result.
SELECT
wct.FDERIV(REPLACE(REPLACE('SELECT POWER(@x,3) / POWER(@y,2) * POWER(@z,2) + 12*@x*@y / 2*@z','@y',1),'@z',1),'@x',1,1,NULL,'C') as [dF/dx]
,wct.FDERIV(REPLACE(REPLACE('SELECT POWER(@x,3) / POWER(@y,2) * POWER(@z,2) + 12*@x*@y / 2*@z','@x',1),'@z',1),'@y',1,1,NULL,'C') as [dF/dy]
,wct.FDERIV(REPLACE(REPLACE('SELECT POWER(@x,3) / POWER(@y,2) * POWER(@z,2) + 12*@x*@y / 2*@z','@x',1),'@y',1),'@z',1,1,NULL,'C') as [dF/dz]
This produces the following result.