HP prime: logs and roots



#2

Some things that a future software upgrade for the HP Prime should consider are the following. They are confusing, and more so from an educational point of view.




Logarithms behave differently in Home and CAS. CAS computes logarithms of negative numbers, while Home returns an error. Besides, the [LOG] key in CAS puts log10 on the input line, but typing LOG on the input line in CAS stays as LOG. In Home, LOG is LOG.

For negative numbers, nth root sign in CAS is different from 1/n power. In Home, the behavior is also different. The command HELP does not fully explain the different behavior, and the example provided in HELP seems wrong for the Help description.


#3

Turn on the "allow complex results from real inputs" in home mode and you will see a difference in the home behavior.

I agree though that it would be nice to have consistency.

Try typing ln in wolfram alpha and see what it returns. This is one of those areas where "symbolic" packages behave totally different then the old established calcualtor behavior. Which should have priority? In short, it is not a simple question.

http://www.wolframalpha.com/input/?i=ln%28x%29

TW

Edited: 19 Nov 2013, 8:46 p.m.


#4

Thanks, I did not know: "allow complex results from real inputs"

I am aware of the Mathematica treatment of logs, but it can be done better.


#5

Indeed.

Its just one of those things that symbolic math packages seem to treat something totally different then what is the "traditional" behavior on a calculator is, or treatment in educational areas.

TW


#6

Quote:
Indeed.

Its just one of those things that symbolic math packages seem to treat something totally different then what is the "traditional" behavior on a calculator is, or treatment in educational areas.

TW


No reflection upon those of you computer scientists out there, but many computer algebra software developers seem to do things in a way that computer scientists would do things and not always the way Physicists and Mathematicians would do things.
I used Maple for quite a while and never got used to it completely. I took one look at Mathematica and had our IT people here at school uninstall it.
#7

The custom in Maths (take a look at any Real Analysis textbook) is to use log for the natural logarithm, and log_a for the logarithm base a.

There's nothing particularly exciting about the logarithm base 10 now that we have easy ways to calculate without logarithm tables (decibels, pH, etc are the very definition of conventional units). Calling the log_10: log, and the log_e: ln is just an old inconsistent notation.

Mathematica usually has mainstream notation... the problem is everybody believes that their discipline is the only one out there.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP-51G: Back to the honorable roots! Martin Paech 24 6,889 04-08-2012, 01:39 AM
Last Post: db (martinez, ca.)
  35s - find roots of 3rd and higher order equations Chris C 11 3,323 02-25-2012, 02:55 PM
Last Post: Thomas Klemm
  Polynomial roots again ... fhub 13 3,735 12-28-2011, 12:49 PM
Last Post: fhub
  Any expert for polynomial roots here? fhub 20 4,986 11-10-2011, 01:52 PM
Last Post: Peter Murphy (Livermore)
  HP Solve Newsletter Jan 2011: Article about LOGs Frido Bohn 7 2,103 01-21-2011, 11:56 PM
Last Post: Eric Smith
  Is there something going on out there? (or Getting Back to My Roots...) Vieira, Luiz C. (Brazil) 22 5,699 04-26-2010, 09:51 PM
Last Post: Vieira, Luiz C. (Brazil)
  Computing Square Roots Thomas Klemm 11 2,979 03-30-2009, 03:26 PM
Last Post: Thomas Klemm
  HP97 crashing with trig and logs Mark Edmonds 13 3,082 08-04-2008, 12:15 PM
Last Post: Mark Edmonds
  20b and logs Mark Storkamp 6 1,837 08-04-2008, 09:29 AM
Last Post: Mark Storkamp
  Displaying all roots of a number Hal Bitton in Boise 2 1,034 06-03-2008, 10:55 AM
Last Post: Hal Bitton in Boise

Forum Jump: