The expression y = (1-x)/(1-x*cos(t)) is, as given, undefined whenever
x*cos(t)=1, for example at (x,t)=(1,0).
When x=1 it simplifies to 0/(1-cos(t)), which equals 0 except where
cos(t)=1 where it is undefined but has a limiting value of 0.
When t=0 it simplfies to (1-x)/(1-x), which equals 1 except when x=1
where it is undefined, but has a limiting value of 1.
So you get different limits when first x -> 1 and then t->0 compared
with first t->0 and then x->1. The function has no continuous
extension to (x,t)=(1,0). Hence I would not expect a computer algebra
system to give the same answers with simple substitutions in the two
orders.
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sage-support...@googlegroups.com.
> To post to this group, send email to
sage-s...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sage-support.
> For more options, visit
https://groups.google.com/d/optout.