4-46 Computer Algebra Commands
Example: Find the Laplace transform of e
x
.
Command:
LAP(EXP(X))
Result: 1/(X-1)
See also: ILAP, LAPL
LAPL
Type: Command
Description: Returns the Laplacian of a function with respect to a list of variables.
Access: !Ö DERIV & INTEG L
Input: Level 2/Argument 1:An expression.
Level 1/Argument 2: A vector of variables.
Output: The Laplacian of the expression with respect to the variables.
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, and simplify, the Laplacian of the following expression:
e
x
zy()cos
Command: LAPL(EXP(X)*COS(Z*Y),[X,Y,Z])
EXPAND(ANS(1))
Result: -((Y^2+Z^2-1)*EXP(X)*COS(Z*Y))
See also: LAP, ILAP
LCM
Type: Function
Description: Returns the least common multiple of two objects.
Access: Arithmetic, !ÞPOLYNOMIAL LL
Input: Level 2/Argument 1: An expression, a number, or object that evaluates to a number.
Level 1/Argument 2: An expression, a number, or object that evaluates to a number.
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, …µ