student
equate
create a set of equations from lists, arrays and tables
Calling Sequence
Parameters
Description
Examples
equate(A, B)
A
-
expression or a list, vector or matrix of expressions or equations
B
(optional) expression or a list, vector or matrix of expressions or equations to be compared with A
Important: The student package has been deprecated. Use the superseding command Equate instead.
This procedure is used to construct a set of equations by comparing the components of compound objects such as a lists, vectors or matrices of expressions.
If A and B are both lists with the same number of elements then the resulting equations are A1=B1,tripledotplaceholderAn=Bn
Vectors and matrices are converted to lists prior to constructing the set of equations.
If the second argument B consists of a single algebraic expression or a list with a single element then the corresponding list is extended by repetition to the length required for a proper comparison with A.
If there is no second argument B it defaults to the value 0.
If the first argument A includes equations, the second argument is used only to convert the non-equation components of A into equations. In this case B must be a list of length 1.
The command with(student,equate) allows the use of the abbreviated form of this command.
Important: The student package has been deprecated. Use the superceding command Equate instead.
with⁡student:
equate⁡x,y
x=y
equate⁡vector⁡x,y,z,3
x=3,y=3,z=3
equate⁡vector⁡x,y,vector⁡a,b
x=a,y=b
Tfirst≔x+y
Tsecond≔x−y
equate⁡T,2
x−y=2,x+y=2
See Also
Equate
Student
student(deprecated)
subs
Download Help Document