HP Forums

Full Version: CAS: Combining Logarithms
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
From an intermediate algebra class example:

[attachment=7452]

How would this be implemented in the hp prime?

-Dale-
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
(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.
Reference URL's