Example for multivariate Taylor series expansion
In order to work with multivariate Taylor series one first
has to do a few preparation steps in order to create an
appropriate domain.
fricas
Z==>Integer
Type: Void
fricas
Q==>Fraction Z
Type: Void
fricas
vl: List Symbol := [x,y]
Type: List(Symbol)
fricas
V==>OrderedVariableList vl
Type: Void
fricas
E ==> DirectProduct(2, NonNegativeInteger)
Type: Void
fricas
P==>SparseMultivariatePolynomial(Q, V)
Type: Void
fricas
M==>SparseMultivariateTaylorSeries(Q,V,P)
Type: Void
fricas
X:=monomial(1$M,x,1)
Type: SparseMultivariateTaylorSeries
?(Fraction(Integer),
OrderedVariableList
?([x,
y]),
SparseMultivariatePolynomial
?(Fraction(Integer),
OrderedVariableList
?([x,
y])))
fricas
Y:=monomial(1$M,y,1)
Type: SparseMultivariateTaylorSeries
?(Fraction(Integer),
OrderedVariableList
?([x,
y]),
SparseMultivariatePolynomial
?(Fraction(Integer),
OrderedVariableList
?([x,
y])))
fricas
sinh(X)*cosh(Y)
Type: SparseMultivariateTaylorSeries
?(Fraction(Integer),
OrderedVariableList
?([x,
y]),
SparseMultivariatePolynomial
?(Fraction(Integer),
OrderedVariableList
?([x,
y])))