Post Reply 
Programming with variables
06-01-2017, 09:34 PM (This post was last modified: 06-01-2017 10:53 PM by BERNARD MICHAUD.)
Post: #4
RE: Programming with variables
First NO program
-----------------------------
In the HOME screen type the following:
0 Sto> Ks Prime will ask you if you want to create the variable called Ks
Press OK. do the same for any variables except (A .....Z) which are already defined.

0Sto>Ks 0Sto>Js 0Sto>v (Use '0' or any value.)

Next press Apps. Navigate to the "Solve" app. 'Press Reset'. And 'Start".

Enter your function in E1:v=Ks*Js^(1/2)*R^(2/3) Press OK

Make sure E1: is checked. Press Num

v:0
Ks:0
Js:0
R:0 note R may contain a value if previously used (R is a global variable).


Enter any three variables and Solve for unknown.

In a program:
--------------------------
Enter the following.

EXPORT Ks:=0;
EXPORT Js:=0;
EXPORT v:=0;

EXPORT program name ()
BEGIN
END;


You can also do:
EXPORT Ks:=0,Js:=0,v:=0; up to 8 variables per line.

Run the program and the three variables will be created.
Go to the Slove App (as above) and enter the formula, values and solve.

Bernard
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Programming with variables - Fluggeil - 06-01-2017, 05:49 AM
RE: Programming with variables - KeithB - 06-01-2017, 03:50 PM
RE: Programming with variables - Fluggeil - 06-01-2017, 06:29 PM
RE: Programming with variables - BERNARD MICHAUD - 06-01-2017 09:34 PM
RE: Programming with variables - Fluggeil - 06-02-2017, 06:09 AM



User(s) browsing this thread: 2 Guest(s)