Given a monomial $m$. How to find number of variables in $m$ in Maple? For example, let $m=2*x*x$. Then the output to be $2$ (two same variable $x$ in $m$). Let $m=-2*x*y*y$. The output is $3$ (variables are $x, x, y$). How could we do this in Maple? Thank you very much.
2026-03-25 21:49:05.1774475345
How to find number of variables in a monomial in Maple?
123 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
degree() will work. Documentation.