Different Taylor expansions for equivalent expressions

Bugs

Modérateur : xcasadmin

lukamar
Messages : 331
Inscription : ven. juin 30, 2017 9:55 am
Localisation : Zagreb, Croatia

Different Taylor expansions for equivalent expressions

Message par lukamar » jeu. nov. 24, 2022 1:42 pm

Hi,
There is something wrong with series/taylor command. When I enter

Code : Tout sélectionner

series(cot(x)^2,x=0,1)
I get \(\frac{1}{x^{2}}-\frac{2}{3}+x^{2} \mathrm{order\_size}\left(x\right)\) as expected, but when I enter

Code : Tout sélectionner

series(cos(x)^2/sin(x)^2,x=0,1)
only \(x^{2} \mathrm{order\_size}\left(x\right)\) is returned.
Luka

parisse
Messages : 5740
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Different Taylor expansions for equivalent expressions

Message par parisse » jeu. nov. 24, 2022 4:52 pm

Very strange, the answer is correct at default order. I will investigate!

Répondre