Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: MapleV: substitution in linalg problem
Replies: 1   Last Post: Dec 6, 1996 1:59 AM

 Messages: [ Previous | Next ]
 Meinrad Rohner Posts: 1 Registered: 12/8/04
MapleV: substitution in linalg problem
Posted: Dec 5, 1996 11:57 AM

I can't figure out how to substitute values for the t-parameters in
the solution of the following problem.
Many thanks in advance for any hints.

> with(linalg):
# Let's say we have the following (singular) matrix:
> A:=matrix(2,2,[-4,3,8,-6]);

[-4 3]
A := [ ]
[ 8 -6]

# I solve for solutions of the homogenous system A*x=0:
> x:=linsolve(A,vector(2,[0,0]),'r',t);

x := [t[1], 4/3 t[1]]

# I simply want to substitute certain integer values into this
solution
# vector. How do I achieve this? For example, the following procedure
# does not give me what I want:
> evalm(subs(t[1]=2,x));

[t[1], 4/3 t[1]]

----------------------------------------------------------------
J. W. Goethe University fax +49-69-798-28130
Department of Economics rohner@wiwi.uni-frankfurt.de
Fach 62
http://www.uni-frankfurt.de/~rohner
D-60054 Frankfurt am Main / Germany
----------------------------------------------------------------

Date Subject Author