-
Hi everyone!
With this Lua program, you'll be able to enter your calculations in the mode RPN (Reverse Polish notation) (http://en.wikipedia.org/wiki/Reverse_Polish_notation). It enables you to enter them faster, have details of calculation each time and avoid operating errors priority. Menu and help menu are up to now in french, but I'll do a translation.
Here's a screenshot:(http://img11.hostingpics.net/pics/192138untitled13.png)
Any suggestion, remark or bug report it welcome!
Future features adding:
- Complex number support.
- Constants support.
- Scienfic numbers support like 3,4E-5.
- More functions.
- Permutate last 2 entries when pressing key tab.
- Being able to scroll in order to see all the entries.
- Use of variables.
Last version (2) (http://www.omnimaga.org/ti-nspire-projects/%28lua%29-saisie-rpn/msg379361/#msg379361)
-
seems interesting. good job
-
Good job so far. I know that some HP calc users missed RPN when it vanished from calcs with the HP 39gII, so if they got an Nspire they would like this. :)
-
Good job so far. I know that some HP calc users missed RPN when it vanished from calcs with the HP 39gII, so if they got an Nspire they would like this. :)
Thanks. I've been dreaming having RPN for a long time, and I had the idea to add it to the Nspire thanks to Lua. You can notice that this program does better than current HP Prime's RPN mode.
Update:
(19/07/13) 1.1.1->1.1.2 : Correction de bugs, ajout des fonctions trigonométriques inverses et hyperboliques, support de la touche (-), redimensionnement corrigé, ajout des numéros des entrées, ajout de la puissance "^", ajout de "10^".
-
Well... an update again. XD This one adds the exact calculation, but the results are sometimes strange. Of course, you can disable it with the menu.
(http://img15.hostingpics.net/pics/917394untitled15.png)
Help: how to enter these calculations? There:
- ln(423) => 423 [ctrl] [e^x]
- root(456,3) => 456 [enter] 3 [ctrl] [^]
- (478-32.4²)/3 => 478 [enter] 32.4 [x²] [-] 3 [/]
Download version 1.2.1
vvvvvvvvvvvvvvvvvvvv
-
Good to hear :D
-
That is an awesome work :D
You should just work a little bit to make a better GUI, then evrything is perfect :)
-
Thanks. I'm coding the whole code again with a different structure to be able to recycle the D2Editor instances (which cannot be deleted) and some other stuffs. I didn't find any solution to know the size of formula in pixels though. For the GUI, what do you think I could especially improve?
-
Little things as :
- Drawing a line between each calculations
- Sidebar to go up and down and up easily ?
Conversely, I don't know if it is possible to do that with the 2D editor...
-
I can easily add a line separating calculations if you think it may improve the graphic aspect. A sidebar would be very difficult, but if I finally add the features I want, I could try to add a navigation in the historic.
-
New version! The code has been entirely remade. Many features have been added.
(http://tiplanet.org/forum/gallery/image.php?mode=medium&image_id=3605)
Ajouts (in french, sorry):
- La suggestion de Ron.
- Les nombres à écriture scientifique.
- Les nombres complexes.
- Les variables.
- Les unités, le symbole "_", les constantes complexes et entières etc.
- Des symboles usuels tels que pi, e ainsi que plus de fonctions (toutes celles trigonométriques par exemple, ainsi que l'opérateur factorielle).
- Échange les deux dernières entrées avec tab.
- La touche DEL ne supprime plus tout une entrée mais défait un nœud. Par exemple, si vous avez (3+4)/(5-b) et que vous voulez calculer (3+4)*(5-b), il suffit de presser DEL pour défaire un nœud ce qui a pour effet de faire remonter deux entrées dans l'historique : 3+4 et 5-b. Ensuite, une simple pression sur "*". Pour supprimer une entrée en entier, appuyer sur ctrl+del.
- Amélioration de l'interface graphique.
- Corrections d'erreurs et de bugs (si l'on peut se permettre de parler ainsi puisque tout a été entièrement reprogrammé depuis le début).
- Amélioration de l'affichage.
- D'autres choses que j'ai oublié de citer.
EDIT: fixed a bug.
-
Super je teste tout de suite ! :)