Post Reply 
CAS: Combining Logarithms
07-09-2019, 02:27 PM
Post: #1
CAS: Combining Logarithms
From an intermediate algebra class example:

[attachment=7452]

How would this be implemented in the hp prime?

-Dale-
Find all posts by this user
Quote this message in a reply
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
07-09-2019, 06:38 PM
Post: #3
RE: CAS: Combining Logarithms
(07-09-2019 05:25 PM)victorvbc Wrote:  Just make sure CAS has "Use i" enabled.

-Victor

Thanks, I didn't have "Use i" enabled.
Find all posts by this user
Quote this message in a reply
Post Reply 




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