       Using results of "Solve"

• To: mathgroup at smc.vnet.net
• Subject: [mg25693] Using results of "Solve"
• From: Helge Kreutzmann <helgek at studserv.stud.uni-hannover.de>
• Date: Thu, 19 Oct 2000 04:35:20 -0400 (EDT)
• Organization: Universitaet Hannover
• Sender: owner-wri-mathgroup at wolfram.com

```Hello !
I have a series of matrices which depend on several parameters. I can
create those matrices fine and display them. They are called

S[k_,m_,b_,n_]

Now there is an unkown called "q" in the matrix which is evaluated by
setting the determinant of the matrix zero and solving the resulting
equation for q:

Solve[Det[S[2, m, b, 2]] == 0, q]

Now I want to use this function. The result is given in a form like:
{{ q -> rhs1 },{ q -> rhs2}} and so on. I would like now to plot q.

A colleque gave me the following "hack":
h =.;
h[m_, b_] := Solve[Det[S[2, m, b, 2]] == 0, q];
Plot3D[q  /. h[m, b] [], {m, 0, 3}, {b, 0, 3}]

Is there a more straightforward way ? Especially I would like to create
several functions this way and their sum is the resulting function I
am interested in (actually it's a series).

Regards

Helge

```

• Prev by Date: RE: machine size real number
• Next by Date: Re: Assumptions i Mathematica...
• Previous by thread: Re: Solve...
• Next by thread: Re: Using results of "Solve"