You are on page 1of 2

MA.14.

Aplicatii cu soft dedicat


Cuvinte cheie: bibliotecile Maple LinearAlgebra si linalg; comenzile
Maple
LinearSolve
si
Linsolve;
comenzile Maple CharacteristicPolynomial, Eigenvalues si Eigenvectors; comenzile Maple charpoly, eigenvalues si eigenvectors

14.1

Exemple ilustrative. Programe MAPLE

1. Algebra liniara: ortonormare (procedeul Gram Schmidt si normare)


# Input: trei vectori din R^3;
# Output: vectori ortonormati;
> restart: with(linalg): u1:=vector([3,-1,2]);
> u2:=vector([1,2,1]); u3:=vector([1,1,4]);
# u1, u2 si u3
> gs:=GramSchmidt({u1,u2,u3},normalized);
# procedura pentru calc.vect.ortog.
> M:=matrix([gs[1],gs[2],gs[3]]);
# M=matricea formata din vect.ortonormati
2. Algebra liniara: formele canonice digonala si Jordan
# Input: matricele A si B;
# Output: formele canonice corespunzatoare (diagonala, respectiv Jordan);
> restart: with(linalg): A:=array([[1,2,3], [2,3,1], [3,1,2]]); # matricea A
> B:=array([[3,1,0,0], [1,2,0,0], [0,0,2,1], [0,0,0,2]]);
# matricea B
# forme canonice
> J1:=jordan(A, P1); C1:=print(P1); # forma diagonala a matricei A
> J2:=jordan(B, P2); C2:=print(P2); # forma Jordan a matricei B
# verificari: J1=P1^(-1)*A*P1, J2= P2^(-1)*A*P2
> J1:=simplify(multiply(inverse(P1), A ,P1));
> J2:=simplify(multiply(inverse(P2), B , P2));
# verificari: A=A^t, matrice simetrica diagonalizabila
> evalm(A-transpose(A));

14.2

Cod MAPLE pe Internet (selectie orientativ


a)

[ 1 ]***, http://www.maplesoft.com
[ 2 ]***, http://www.maplesoft.com/support/help/Maple/view.aspx?path=LinearAlgebra
[ 3 ]***, http://www.maplesoft.com/support/help/Maple/view.aspx?path=examples/LinearAlgebraMigration
[ 4 ]***, http://www.maplesoft.com/support/help/Maple/view.aspx?path=LinearAlgebra
[ 5 ]***, http://www.maplesoft.com/support/help/Maple/view.aspx?path=examples/LinearAlgebraComputation
[ 6 ]***, http://www.maplesoft.com/support/help/Maple/view.aspx?path=examples/LinearAlgebraVisualization2


MATEMATICA*M*

LINIARA

MA. ALGEBRA

[ 7 ]***, http://homepages.math.uic.edu/ hanson/MAPLE/MapleLinearAlgebra.html (Floyd Hanson, University of Illinois at Chicago, hanson@uic.edu)


[ 8 ]***, http://homepages.math.uic.edu/ hanson/MAPLE/, (Floyd Hanson, University of Illinois at Chicago,
hanson@uic.edu)
[ 9 ]***, http://www.youtube.com/watch?v=5Gc8W0qaTpM (Youtube: Using Maple for Linear Algebra part 1:
Matrix entry; Jan Verschelde, University of Illinois at Chicago, E-mail: jan@math.uic.edu or janv@uic.edu)
[ 10 ]***, http://www.math.hmc.edu/ ajb/PCMI/maple.html (Some MAPLE Resources, Andrew J. Bernoff,
PCMI, Harvey Mudd College)
[ 11 ]***, facultypages.ecc.edu/alsani/students/maplebyexample.pdf (Maple 10 by example, M. Alsani, E-mail:
alsani@ecc.edu)

- 2-

You might also like