Post Reply 
50g prefers LN instead of LOG during symbolic solve
10-26-2014, 09:31 PM (This post was last modified: 10-28-2014 11:58 PM by Gilles.)
Post: #13
RE: 50g prefers LN instead of LOG during symbolic solve
(09-30-2014 11:01 PM)fire_for_effect Wrote:  The 50g seems to prefer the log natural instead of log 10 when symbolically solving "Y=2^X" . The result is "X=LN(Y)/LN(2)" which would be correct except I am looking for a base 10 solution ... any thoughts on flag changes or how to change solution behavior to get this solution: "X=LOG(Y)/LOG(2)" ?

HI ,

You can't change the LN preference of the 50G, but you can easily write a small program to convert any algebraic expression from LN (natural log) to LOG (decimal log)

\->LOG :
\<< {'LN(&A)' 'LOG(&A)*LN(10)' } \|^MATCH DROP EVAL \>>

Nota : \|^ is the up arrow

Please test this before use for serious purpose...
You can of course affect this to a user key if needed.

with your example :

'Y=2^X'
SOLVEVX
\->LOG
and you get 'X=LOG(Y)/LOG(2)'

'Y=Z+10^X'
SOLVEX
\->LOG
and you get 'X=LOG(Y-Z)'

Gilles
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 50g prefers LN instead of LOG during symbolic solve - Gilles - 10-26-2014 09:31 PM



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