
258
The | function written as: expression | (var1=value,var2=value,…)
This is called the ‘where’ function. The reason for this is that it is used to
evaluate formulas, of the type when one would say “Evaluate ….., where a =
5, b = 4 etc”. The formula must be in the form of an expression rather than
an equation. You should enter the equation first, then the ‘where’ symbol
and then the values of all the variables in the expression. Any not supplied
will be evaluated using the value currently stored in that memory. This is
again a function which is of more use to programmers since this is probably
more flexibly handled in the Solve aplet.
Eg. 1 Evaluate
b c
a
d
+
=
where b = 6, c = -2 and d = 8
Use:
(B+C)/D|(B=6,C=-2,D=8)
Answer:
0.5
Eg. 2 Using the formula
2
1
2
d
at
=
, find the distance d which an object
would fall under Earth’s gravity of 9.8 m/s
2
in a time of 6 seconds.
Use:
.5AT
2
|(A=9.8,T=6)
Answer:
176.4 meters
See also: