\( \DeclareMathOperator{\abs}{abs} \newcommand{\ensuremath}[1]{\mbox{$#1$}} \)
(%i5) |
f(
x,
y,
z)
:
=
x
*(
sin(
y))
^
2
+
z
*(
cos(
y))
^
2
$
define( fx( x, y, z), diff( f( x, y, z), x)) ; define( fy( x, y, z), diff( f( x, y, z), y)) ; define( fz( x, y, z), diff( f( x, y, z), z)) ; define( nabla( x, y, z),[ fx( x, y, z), fy( x, y, z), fz( x, y, z)]) ; |
(%i6) | trigreduce( %) ; |
Created with wxMaxima.