Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
|
02-03-2017, 11:09 AM
(This post was last modified: 02-05-2017 07:35 PM by toshk.)
Post: #1
|
|||
|
|||
Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G | |||
02-03-2017, 11:25 AM
Post: #2
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
I posted this in the suggestions section a while ago.
I'm pretty sure it's based on this patent https://www.google.com/patents/US5175700 |
|||
02-03-2017, 02:57 PM
(This post was last modified: 02-03-2017 03:32 PM by Han.)
Post: #3
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
If you have an HP48GX, you can extract it using Jazz. The equations are stored in library #E2h. A list of all the topics can be found in ROMPTR E2 15 (using Jazz format; those values are in hex: #E2h and #15h). I was planning to extract this anyway for my own equation library.
EDIT: Another place to find it is in the Advanced User's Reference for the HP48 EDIT #2: The strings in the HP48GX use a tiny compression scheme (e.g. ^2 and *( are fairly common character sequences that have been squished into a single character), so maybe these are not the best to use unless someone writes a "decompressor" for those strings. Graph 3D | QPI | SolveSys |
|||
02-03-2017, 04:37 PM
Post: #4
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
I just checked the 48/50 source tree. They don't exist in there except in the "compressed" form as described and the utility to "convert" back and forth between them is long gone, but perhaps this will be helpful:
Code: The following 1-byte values are used in equation Archive with the original equation/variable sources: EqLibStuff.zip (Size: 28.16 KB / Downloads: 54) A little program, or even a bash script or something similar should be able to "reverse" the encoding without much trouble. Even manually search/replace shouldn't take long at all. TW Although I work for HP, the views and opinions I post here are my own. |
|||
02-03-2017, 05:30 PM
Post: #5
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
Thanks ....a lot.
|
|||
02-03-2017, 06:08 PM
Post: #6
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
I didn't read your post close enough. I thought you were talking about the code for the multiple equation solver. However, it would still be a FANTASTIC add to the Prime to use the 50g type multiple equation solver... ;-)
|
|||
02-05-2017, 09:16 AM
Post: #7
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
Equation Lib: in test mode: not all formulae are implement now. but all choose menus as in 50G are present now.
Testers type: toshLib(); choose from a Library and press ON to solve the equation(s) if it present now. Most equation under Electrical are ported. Known issues there is no multi-solve; Is there exist two equations E1 and E2; E2 shows error; i tried putting equations under different Solver symb; eg. series (E1) and parallel resistors (E2) ; Solver would not allow me to store equation in E2. (have no idea)? but suspect PuTt() sub-function not execution well. |
|||
02-05-2017, 09:58 PM
Post: #8
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
Pretty cool, but there does not seem to be any way to actually start the solver except to interrupt the program with the [ON] key. I was thinking that upon choosing an equation, it would then enter directly into the solver. Perhaps instead of "UNTIL 0" at the end of toshLib(), you could use "UNTIL stop" where the variable stop is initialized to 0 and then changed to 1 after a selection is made. Otherwise it looks like the user should be able to enter in values for the solver, but the program is actually still running and may lead users to think their calculator is misbehaving.
Also, there is "ITEM5" as a menu item that seems to result in an error. Graph 3D | QPI | SolveSys |
|||
02-11-2017, 10:25 PM
(This post was last modified: 02-12-2017 10:17 AM by toshk.)
Post: #9
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
Equation library complete: as in Hp 48/49/50 No illustration;
Multiple Equations outputted into E2-E0, check the appropriate E to solve. (multiple equation solver does not exist for Solver) going through the E's one can solve all parameters associated with a problem. if equation does not exist for the select topics and you like it to be added for the benefit of the public i suggest you write: 1. Topic Name 2. Equation Name 3. Equation typed in XML 4. Associated symbols of the equation toshLib(). toshLib{02112017}.hpprgm (Size: 49.5 KB / Downloads: 28) |
|||
02-12-2017, 11:19 AM
Post: #10
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
(02-11-2017 10:25 PM)toshk Wrote: Equation library complete: as in Hp 48/49/50 No illustration; This looks pretty cool. Is there any way to extract the graphics from the HP48 library for use on the Prime version? That would be a nice addition and helpful to use the equations without the HP48 AUR |
|||
03-06-2017, 01:24 AM
Post: #11
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
Hello. In your Electricity section of your app. The ohms law and power section
#3 There is no variable for power P. Only V,I,R The equation listed is V=I*R. Am I missing part of the program?? I do see it listed in the program, Let me know. Thanks. |
|||
03-06-2017, 04:50 AM
Post: #12
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
(03-06-2017 01:24 AM)john c. Wrote: Hello. In your Electricity section of your app. The ohms law and power section Press [Symb] to step into the different equations. |
|||
03-06-2017, 03:26 PM
Post: #13
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
Hello. Thanks for the reply. I pressed the Symb key and the formulas were
there. So there was no problem after all. I really like your program. |
|||
03-06-2017, 08:26 PM
(This post was last modified: 03-09-2017 01:47 AM by Han.)
Post: #14
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
The formulas for Forces and Energy > Linear Mechanics show up as syntax errors for all but F=m*a. This seems to happen in a few other places (e.g. Fluids > Flow in Full Pipes)
There is a bug in your PutIt() command. CAS.expr( (lst[aa]) + ":=" + (0) ); This creates a CAS program named lst. You can (partially) fix the issue with: CAS.expr(EVAL( lst[aa] + ":=" + 0 )); You'll have to force a redraw of the Symb view. Also, keep in mind that the equations list is extremely volatile, especially when users start using the CAS and modify and/or delete the variables used in the system. EDIT: I took the liberty of removing unnecessary local variables once you convert a formula such as 'F=m*a' over to "F=m*a" (since both can be stored into E0 through E9). Also, there are a few places that you did not reset all the E0-E9's (e.g. check the Fluids section) and some systems don't have all their variables declared. Some of these I fixed where I saw them. Lastly, to speed up debugging and overall performance (though probably not noticeable to the user), you may want to use CASE blocks so that your program does not actually run through the entire list of IF THEN END statements (i.e. exit CASE as soon as an IF statement is true). Code: #pragma mode( separator(.,;) integer(h32) ) Graph 3D | QPI | SolveSys |
|||
03-10-2017, 03:34 PM
Post: #15
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
(02-12-2017 11:19 AM)Stevetuc Wrote: This looks pretty cool. Is there any way to extract the graphics from the HP48 library for use on the Prime version? That would be a nice addition and helpful to use the equations without the HP48 AUR The pics are now available in this thread: http://hpmuseum.org/forum/thread-7907.html There is also another equation library app that already implements the pictures if you are interested: http://www.hpmuseum.org/forum/thread-7725.html Graph 3D | QPI | SolveSys |
|||
03-10-2017, 04:29 PM
(This post was last modified: 03-10-2017 04:33 PM by toshk.)
Post: #16
|
|||
|
|||
RE: Looking for the massive text Formulae HP uses for their Equation Library in 50G/49G
(03-10-2017 03:34 PM)Han Wrote:Always insightful codes from you....(I pour hours in reading your codes). The more I code on HPrime the easier my matlab codes.(02-12-2017 11:19 AM)Stevetuc Wrote: This looks pretty cool. Is there any way to extract the graphics from the HP48 library for use on the Prime version? That would be a nice addition and helpful to use the equations without the HP48 AUR when I grow up I would like to code like you. thanks. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)