| Author |
Message |
xxacefirexx
Joined: 08 Dec 2007 Posts: 3
|
Posted: December 8, 2007 3:54 PM Post subject: So I wanna start programming on my TI-89.... |
|
|
I know a few programming languages, and even programmed a little on the TI-83
However, im unfamiliar with the syntax on the 89.
* the main reason im here is to learn how to program simple functions. here is one that i want to program first:
percentdiff(x,y)
basically i want it to spit out the percent difference of two values. i know if i see the code for this i can make countless other similar programs.
* also, are their any good online tutorials for programming on the 89?
thanks for the help!  |
|
| Back to top |
|
 |
ablemerle1
Joined: 13 Feb 2008 Posts: 5
|
Posted: February 13, 2008 12:40 AM Post subject: ahq |
|
|
prgm
clrio
setmode (display digits),I
local a,b
dialog
request "value a",a
request :value b",b
enddlog
define c=(abs(a-b)/a)*100
dialog
text "percent change ="(c)
enddlog
endprgm |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
Saphic 1.5 // Theme created by Sopel
|
|