Manual

420 Functions and commands
vpotential Given a vector V and a vector of variables, returns the vector
U such that curl(U)=V.
vpotential(Vector1, Vector2)
Example:
vpotential([2*x*y+3,x
2
-4*z,-2*y*z],[x,y,z])
returns
when Used to introduce a conditional statement.
XOR Exclusive or. Returns 1 if the first expression is true and the
second expression is false or if the first expression is false and
the second expression is true. Returns 0 otherwise.
Expr1 XOR Expr2
Example:
0 XOR 1 returns 1
yellow Used in the Symbolic view of the Geometry app. In the
definition of a geometric object, including the statement
“display=yellow” specifies that the object defined will be
drawn in yellow.
zip Applies a bivariate function to the elements of two lists or
vectors and returns the results in a vector. Without the default
value the length of the vector is the minimum of the lengths of
the two lists; with the default value, the shorter list is padded
with the default value.
zip(‘function’List1, List2, Default) or
zip(‘function’, Vector1, Vector2, Default)
Example:
zip('+',[a,b,c,d], [1,2,3,4]) returns [a+1 b+2
c+3 d+4]
| Inserts a template for substituting a value for a variable in an
expression.
Expr|Var1=Val1, [Var2=Val2, …]
2
Returns the square of an expression.
(Expr)
2
Inserts pi.
Inserts a template for a partial derivative expression.
0 2 x yz 4 xz
1
3
---
x
3
3 y+