Giter Site home page Giter Site logo

arjvik / rpn-ti84 Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 6.0 26.62 MB

Advanced Reverse Polish Notation entry program for the Ti-84+CE calculators

Home Page: https://git.io/ti84rpn

License: GNU General Public License v3.0

Makefile 3.45% C 89.77% C++ 6.72% Shell 0.06%
ti84plusce reverse-polish-notation uil

rpn-ti84's Introduction

RPN-Ti84

Advanced Reverse Polish Notation entry program for the Ti-84+CE calculators

Demo GIF

Designed for the UIL Texas Calculator Applications competition, where the raw speed of Reverse Polish Notation combined with the familiarity of a Ti-84+CE can provide a significant competitive advantage.

Arjun's RPN Calculator v2.2 (ASM) - git.io/ti84rpn

Story

The first version of this program was RPN.8xp, written in TI-BASIC. Unfortunately, it had too much input lag to be usable in a competition setting. I decided that I wanted to write an improved version of it for the 2021 UIL/TMSCA season, and planned to work on it over my spring break before the TMSCA State Meet.

Naturally, I waited until the night before the exam to start working on this program. Considering that I put the finishing touches on it minutes before starting the exam itself, the program worked incredibly well—I saw no crashes, freezes, or any other discernible bugs!

Building and Installing

source env.sh
make # Compiles .8xp file
make install # Transfers to calculator (using TiLP)

Features

Real Arithmetic Functions

Scientific Notation

Constants

Degrees/Radians Trigonometry

  • Infinite stack
  • Easy line editing
  • Extensible code
  • and many more

Keys

Key Action
1, 2, 3, 4, 5, 6, 7, 8, 9, 0, ., - Enter digits
enter Push current value to stack
(Resets stack if it grows to over 99 elements)
clear Clear current value, resetting it to zero
🡰 Backspace
(If entering decimals, clears to integer part)
🡱 Pop and discard entry from stack
+, -, ×, ÷, ^ Binary arithmetic operations
Either pops one entry and uses current value, or pops two entries if current value is empty
,
(or 2nd, aka EE for muscle memory)
Scientific notation binary operator, i.e. x10^
E.g. 1.23enter6, places 1.23E6 on the stack.
log, ln, sin, cos, tan, , x⁻¹ Unary arithmetic operations
Applies either to current value, or top stack entry if current value is empty
sto🡲 Stores current value, or top stack entry if current value is empty, in OS variable X
del New problem
Clears current entry, stack; other settings remain
mode Switch between 3-sigfig-scientific-notation and standard view
2nd^ (π), 2nd÷ (e) Enter the constants pi or e into the current value
Continuing to type digits has strange effects here
2ndlog (10^), 2ndln (e^),
2ndsin (sin⁻¹), 2ndcos (cos⁻¹),
2ndtan (tan⁻¹), 2nd ()
More unary arithmetic operations
2ndsto🡲 (rcl) Recalls the value of OS variable X into the current value
2ndapps (angle) Switch between degrees and radians for trigonometric functions
See hint in top right corner of screen
2nd2nd Leave "2nd mode"
y= About screen
window Help screen
graph, 2ndquit Exit RPN program

Note: Most binary operations above are commutative or easy to reverse, except exponentiation. To compute b^a when a is before b on the stack, press ln, ×, 2ndln.

Credits

rpn-ti84's People

Contributors

arjvik avatar imnotjahan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rpn-ti84's Issues

Instruction installations do not work.

I followed your instructions on how to build/install your program, and the logs indicate there is something wrong with the bash script (anything irrelevant here is omitted with brackets) :

[...]$ git clone https://github.com/arjvik/RPN-Ti84.git
[...]
[...]$ cd RPN-Ti84/
[...]$ source env.sh
make # Compiles .8xp file
make install # Transfers to calculator (using TiLP)
: command not found
-bash: env.sh: line 12: syntax error: unexpected end of file
makefile:16: *** CEDEV environment path variable is not set.  Stop.
makefile:16: *** CEDEV environment path variable is not set.  Stop.

I have tilp installed already.
Thanks for the help!

ERROR: INVALID

I am having trouble installing the program onto my student's TI-84 PLUS CE with PYTHON. I don't run LINUX and tried to install a linux based command line like ubuntu, but all of the troubles I have dealt with are above my paygrade when it comes to downloading the right dependencies and such.

I then downloaded the program directly, RPN2ASM.8xp and installed through TI-CONNECT CE and I keep getting an ERROR: INVALID code. I am not sure what the problem is, but it is more than likely on my end due to my own ignorance on programming languages.

You are a lifesaver for making a program like this. The RPN calculator is unfortunately becoming harder and harder to find and my students are more comfortable with the TI-84.

Any help would be greatly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.