Hi, BP
I want to extract the symbolic factors of a term (literal part)
I also want to extract the numerical coefficient of a term
For the following case, it works because there is no multiplicity in the variables
coeff(5*a*x*y,lname(5*a*x*y)); ↲ 5
coeff(3*a^(x+5) ,lname(3*a^(x+5))) ↲ [3*a^(x+5)] => 3
factors(3*a^(x+5)) ↲ [ 3, 1, a^(x+5),1] => [ a^(x+5),1]
numerical coefficient of a term & literal part
Modérateur : xcasadmin
-
- Messages : 562
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: numerical coefficient of a term & literal part
I don't understand your post, re-read it!
a^(x+5) is not a polynomial.
a^(x+5) is not a polynomial.