Previous Up Next

9.4.3  List of variables and of expressions

The lvar command finds the variables and non-rational that make up an expression.

Examples

lvar(x*y*sin(x)^2)
     
⎡
⎣
x,y,sinx⎤
⎦
          
lvar(x*y*sin(x)^2+ln(x)*cos(y))
     
⎡
⎣
x,y,sinx,lnx,cosy⎤
⎦
          
lvar(y+x*sqrt(z)+y*sin(x))
     
⎡
⎢
⎣
y,x,√
z
,sinx⎤
⎥
⎦
          

Previous Up Next