Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot get NUM.SLV to solve system of linear equations on 50g

8 views
Skip to first unread message

daidnik

unread,
Sep 15, 2006, 6:00:18 PM9/15/06
to
I am using the 50g with the Rom update.

I am solving a system of 3 linear eqs in 3 unknowns. I am following a
procedure using the 'Numerical Solver' outlined on p. 345 of the "50g
Users Guide".

Eqn Form: Ax = B; where A=matrix of coeffs; 'x' & 'B' are column
vectors.

Matrix A & Col vect B (saved as a row vector as cited in the example)
entered via 'matrix editor' & saved to 'A' & 'B'.

<Num.Slv> -> <4. Solve Lin Sys>

Pick saved 'A' & 'B' for "A" & "B" fields

Highlight "X" and pick "Solve" from avail function options.

I cannot get a meaningful answer using this procedure as outlined on p.
345 except that I used RPN mode of entry.


However, if I take row vect 'B' & divide by matrix 'A', I get the
answer immediately.

Why is method using Num.Slv not working as cited in the User Guide?

David

Jean-Yves Avenard

unread,
Sep 15, 2006, 8:37:49 PM9/15/06
to
Hi

daidnik wrote:
> Matrix A & Col vect B (saved as a row vector as cited in the example)
> entered via 'matrix editor' & saved to 'A' & 'B'.
>

> Why is method using Num.Slv not working as cited in the User Guide?

There is a bug in the current ROM.
The Linear Solver can only solve systems using matrix of reals, not
symbolic matrices.

Currently, when you import a matrix from the Input Form entry, it will
allow you to use symbolic matrices and will not convert into an array of
reals.
The workaround is to either:
-Enter the matrix directly within the form (it will automatically create
real objects)
-Run ->NUM on the matrices you've created and store them again as 'A' & 'B'

This is fixed in the forthcoming 2.10, the conversion will be done
automatically

Jean-Yves

Zeno

unread,
Sep 15, 2006, 10:08:39 PM9/15/06
to
In article <4n0vauF...@individual.net>, Jean-Yves Avenard
<m...@privacy.net> wrote:


> There is a bug in the current ROM.
> The Linear Solver can only solve systems using matrix of reals, not
> symbolic matrices.
>
> Currently, when you import a matrix from the Input Form entry, it will
> allow you to use symbolic matrices and will not convert into an array of
> reals.
> The workaround is to either:
> -Enter the matrix directly within the form (it will automatically create
> real objects)
> -Run ->NUM on the matrices you've created and store them again as 'A' & 'B'
>
> This is fixed in the forthcoming 2.10, the conversion will be done
> automatically
>
> Jean-Yves

Any idea when the new 2.1 ROM will be available at the HP web site???

daidnik

unread,
Sep 15, 2006, 11:08:02 PM9/15/06
to
Thank you for your prompt reply.

David

0 new messages