texas-instruments


TI83+ evaluate expression program


I would like to build a program in a TI-83+ that will prompt for the variables x, y, and z, and then prompt for an expression on the terms x, y, and z. Is it possible to prompt for that expression and then evaluate it? If so, how?
TI-Basic has an expr( command that lets you evaluate strings as expressions.
There is some information about the command here:
http://tibasicdev.wikidot.com/expr
By using the expr( command along with the store command (the arrow key), your program should be fairly straight forward to write.
TI-Basic provides you with a set of variables referred to as Y-VARS. Any string can be stored to a Y-VARS variable, after witch, any time the variable is used it will be evaluated as an expression (as if you called expr on the original string). the Y-VARS menu is found by pressing VARS followed by the right arrow key.
One example of a Y-VARS variable is Y1, found under the FUNCTION sub-menu of the Y-VARS menu.
Your particular situation could be resolved using Y-VARS like this:
Prompt Y1,X,Y,Z
Disp Y1
A sample run of the program could look like this:
prgmTEST
Y1=?"Y(X+Z
X=?2
Y=?3
Z=?1
9
Done
In this case, the expresion "Y(X+Z" has been evaluated as 3(2+1 and the result was found to be 9.

Related Links

Texas Instruments Transferring Program
How to interact with an OpenThread device?
how do i use autosar program on tiva EK-TM4c123GXL (ARM cortex M4)?
CCS/DRA755: DSS jython connection timesout whereas CCS manually does run successfully
CCS: MPU6050 Sensorlib
configure osxmotion library and license manager in Canon Juma(STM32F401)
What is the fastest infinite loop in TI-84+ Basic?
serialEvent1 on cc3200 energia
Strange behavior with Sys/Bios mailbox objects
TI CC3200: How to get access point list(Wifi Direct)
Storing values to a list stored in a string
Connecting a Texas Instruments TI-84 Plus CE to an Ubuntu computer
Description of function i.e sl_Start(0, 0, 0) used for cc3200 launchpad
How do I detect if an installation of Code-Composer-Studio is licensed?
TI83+ evaluate expression program

Categories

HOME
adfs3.0
kendo-dropdown
bots
tcsh
code-formatting
consul
liferay-7
qooxdoo
material-components
google-search-console
telegraf
roku
migrate
scrape
cqrs
uima
rpmbuild
pickle
varnish-vcl
sqlplus
altium-designer
jstree
pubxml
android-cardview
running-object-table
macromedia
code-climate
pyspark-sql
d3.js-v4
steam-web-api
commonsware-cwac
knights-tour
mongoengine
java-stream
bean-validation
unification
python-jira
slideshow
get-event-store
classnotfoundexception
cyanogenmod
libreoffice-writer
gestures
deedle
connect-direct
kendo-treeview
annotatorjs
xmlbeans
fuzzer
nunit-console
nsdata
meld
node-glob
okta-api
trust
json-spirit
phpquery
linuxbrew
stack-smash
chicagoboss
extend
whitespace-language
gflags
mojo
phonegap-facebook-plugin
iodocs
prism.js
sensormanager
colon
frontbase
lru
postgres-xc
insertion
flv
jbox2d
asp.net-mvc-3-areas
semantic-merge
clrprofiler
coordinate
java.lang.class
flymake
litespeed
botnet
fragment-identifier
django-pagination
downgrade
odac
cleartype
facebook-fbml
data-retrieval
gtktextview
acceleration
code-camp

Resources

Encrypt Message