Ti Nspire --My first program

Ti Nspire finally has some programming capabilities with the latest operating system upgrade. The program editor is accessible through the 1.calculator option (press menu and choose 8 then 1). Nspire doesn't come with any documentation about programming.

Here is my first program. THE HORRENDOUS QUADRATIC FORMULA (wish i had this calculator during beginning of High School)

Define LibPub qdratic(a,b,c)=

Prgm

Disp "+ root =", $\displaystyle \frac{-b+ \sqrt{(b^2)-4*a*c}}{2*a}$

Disp "- root =", $\displaystyle \frac{-b- \sqrt{(b^2)-4*a*c}}{2*a}$

EndPrgm

*note you must save this in myLib folder for it to be accessible via command line

Simple Enough

if you save the file as **eqn** then

Calculator entry line is **eqn\qdratic**(a,b,c)

Well the reasoning behind this post was simple enough - I am hoping other people will share their programs ...now that this calculator is finally capable. As you can see many tedious calculations can be made easy even on the non-CAS version of the calculator with little code. The CAS version can do all of calculus but it is not allowed on any exams so not worthwhile for most students.

[hey i learned some latex commands too whoohoo]