Post Reply 
CAS: Combining Logarithms
07-09-2019, 05:25 PM
Post: #2
RE: CAS: Combining Logarithms
Hi.

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


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
CAS: Combining Logarithms - DrD - 07-09-2019, 02:27 PM
RE: CAS: Combining Logarithms - victorvbc - 07-09-2019 05:25 PM
RE: CAS: Combining Logarithms - DrD - 07-09-2019, 06:38 PM



User(s) browsing this thread: 1 Guest(s)