07-09-2019, 02:27 PM
07-09-2019, 05:25 PM
Hi.
Pretty sure it's not the best way, but I did it like this:
Just make sure CAS has "Use i" enabled.
-Victor
Pretty sure it's not the best way, but I did it like this:
Code:
#cas
combineLog(expr1,resBase):=
BEGIN
LOCAL res;
expr1:=lncollect(expr1);
res:=solve(expr("expr1=logb(k,resBase)"),k);
RETURN(logb(res,resBase));
END;
#end
Just make sure CAS has "Use i" enabled.
-Victor