kill(all)$ load(ntrig)$ load(atrig1)$

Van = facebook.com/LearningCalculus;

g(x):=cos(x)+%i*sin(x)$

f(x):=2*cos(x)-g(-x)$

LHS:integrate('(f(x)/g(x)),x)=integrate(f(x)/g(x),x)+C;

h(x):=x*%e^(-log(x))$

RHS:'(integrate(h(x),x))=integrate(h(x),x)+C;

is(equal(second(LHS),second(RHS)));