Skalarfeld
(%i1) h : ( x1 ^ 2 ) ยท ( x2 ^ 3 ) + 1 ;

\[\operatorname{(h) }{{\ensuremath{\mathrm{x1}}}^{2}} {{\ensuremath{\mathrm{x2}}}^{3}}+1\]

Gradient
(%i2) jacobian ( [ h ] , [ x1 , x2 ] ) ;

\[\operatorname{ }\begin{pmatrix}2 \ensuremath{\mathrm{x1}} {{\ensuremath{\mathrm{x2}}}^{3}} & 3 {{\ensuremath{\mathrm{x1}}}^{2}} {{\ensuremath{\mathrm{x2}}}^{2}}\end{pmatrix}\]

Hessematrix
(%i3) hessian ( h , [ x1 , x2 ] ) ;

\[\operatorname{ }\begin{pmatrix}2 {{\ensuremath{\mathrm{x2}}}^{3}} & 6 \ensuremath{\mathrm{x1}} {{\ensuremath{\mathrm{x2}}}^{2}}\\ 6 \ensuremath{\mathrm{x1}} {{\ensuremath{\mathrm{x2}}}^{2}} & 6 {{\ensuremath{\mathrm{x1}}}^{2}} \ensuremath{\mathrm{x2}}\end{pmatrix}\]


Created with wxMaxima.