Previous Up Next

9.4.4  List of variables of an algebraic expressions

The algvar command finds the symbolic variable names in an expression and orders them.

Examples

algvar(y+x*sqrt(z))
     
⎡
⎣
⎡
⎣
y,x⎤
⎦
,⎡
⎣
z⎤
⎦
⎤
⎦
          
algvar(y*sqrt(x)*sqrt(z))
     
⎡
⎢
⎢
⎣
y
z
x
⎤
⎥
⎥
⎦
          
algvar(y*sqrt(x*z))
     
⎡
⎣
⎡
⎣
y⎤
⎦
,⎡
⎣
x,z⎤
⎦
⎤
⎦
          
algvar(y+x*sqrt(z)+y*sin(x))
     
⎡
⎣
⎡
⎣
y,x,sinx⎤
⎦
,⎡
⎣
z⎤
⎦
⎤
⎦
          

Previous Up Next