lncollect takes as argument an expression with logarithms.
lncollect collects the logarithms (rewrites sum of ln
as ln of products).
It may be a good idea to factor the
expression with factor before collecting by lncollect).
Input :
Output :
Input :
Output :
Warning!!! For Xcas, log=ln (use log10 for 10-base logarithm).