Post Reply 
[WP34s] More constants than CONST offers
05-29-2014, 03:43 PM (This post was last modified: 05-29-2014 04:03 PM by Dieter.)
Post: #5
RE: [WP34s] More constants than CONST offers
(05-26-2014 11:32 PM)Paul Dale Wrote:  Not all are relevant or usefully exposed, but some might be:

Is this a complete, comprehensive list of all available constants not included in the CONST menu? A few of these would really make sense, for instance multiples of pi like pi/2, pi/4, 2pi and, as already mentioned, sqrt(2pi).

Walter said he does not like constants that can easily be obtained from others. Great – this way we can get rid of a lot of physical constants. Take for instance h and ħ (which is simply h divided by 2 pi) or Φ0 which is nothing but 1/Kj and therefore as useful has having a separate 1/pi constant (which would even have the benefit of slightly better accuracy). Removing redundancies like these will free up space for universally useful constants like the ones suggested.

Hey, I just found a way how to use the additional constants with current firmware: simply use the CNST command. This is what I got:

Code:
CNST 77 = 1/eH (higher 34 digits of 1/e, as used in Lambert's W)
CNST 78 = 1/eL (lower 34 digits of 1/e, as used in Lambert's W)
CNST 79 = 1/√5
CNST 80 = 1/√pi
CNST 81 = 0,2214  (currently used in the Chi² quantile, will be obsolete with the suggested new quantile code)
CNST 82 = 1/ln10
CNST 83 = ln 2
CNST 84 = 1/ln2
CNST 85 = pi
CNST 86 = pi/2
CNST 87 = √2pi
CNST 88 = 122,134  (counter/pointer used in Romberg integration)

So at least these constants can be used in user programs. Readability is another point...

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


Messages In This Thread
RE: [WP34s] More constants than CONST offers - Dieter - 05-29-2014 03:43 PM



User(s) browsing this thread: