I have an expression of the form a1xb1^2 + a2yc1^2 I want to extract the x and y from the expressions. a_,b_,c_ are the only types of variables that appear in the expression . Form of x and y are not known. Anyone know how? x and y are not necessarily numbers .
Extract variable from subexpression
Abhishek Pal
- 365
- 1
- 9