Reference Guide

Full Command and Function Reference 3-129
Output: The least common multiple of the objects.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Radians mode must be set (flag –17 set).
Example: Find the least common multiple of the following two expressions:
x
2
1
x–1
Command:
LCM(X^2-1,X-1)
Results:
X^2-1
See also: GCD
LCXM
Type: Command
Description: From a program with two arguments, builds a matrix with the specified number of rows and
columns, with a
ij
= f(i,j).
Access: Catalog, …µ
Input: Level 3/Argument 1: The number of rows you want in the resulting matrix.
Level 2/Argument 2: The number of columns you want in the resulting matrix.
Level 1/Argument 3: A program that uses two arguments. An expression with the two variables I,
J can be used instead.
Output: The resulting matrix.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Example: Build a 2 × 3 matrix with a
ij
=i+2j.
Command:
LCXM(2,3,« →I J 'I+2*J'»)
Result:
3 5 7
4 6 8
LDEC
Type: Command
Description: Solves a linear differential equation with constant coefficients, or a system of first order linear
differential equations with constant coefficients.
Access: Symbolic solve, or P
SOLVER
or
DIFF
Input: Level 2/Argument 1: For a single equation, the function forming the right hand side of the
equation. For a system of equations, an array comprising the terms not containing the dependent
variables.
Level 1/Argument 2: For one equation, the auxiliary polynomial. For a system of equations, the
matrix of coefficients of the dependent variables.
Output: The solution.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Radians mode must be set (flag –17 set).
Example: Solve 2sin(x), with the auxiliary polynomial x
2
+1:
Command:
LDEC(2*SIN(X),X^2+1)