Re: solve output "problem"
- To: mathgroup at smc.vnet.net
- Subject: [mg59025] Re: [mg58974] solve output "problem"
- From: Pratik Desai <pdesai1 at umbc.edu>
- Date: Wed, 27 Jul 2005 01:24:46 -0400 (EDT)
- References: <200507260801.EAA00224@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Selina wrote: >Dear all, > >I have a (possibly simple) problem interpreting the output of Solve. I am solving two nonlinear equations, and I get a list of several solutions, each of which are huge equations, which should be functions of my parameters. Anyway, I am not sure how to describe the problem but the output of Solve involves the following: #1, #1^2, .....,#1^6, along with everything else, and at the end there is an & symbol--something like "&, 2]" at the end of the second solution, "&, 6]" at the end of the 6th solution etc. What might be the reason why the output looks like this, and is there a way to convert this to a "normal" equation (without the #1's etc.)? > >Any help would be appreciated, thanks a lot in advance. > > > I suspect you have a functional output in terms of Root. Look at the help on Root As far as I can understand, you can get a normal equation by First[expr][x] where x is your variable of interest. But that probably won't solve your problem, just puts it back in the "normal" form. Have you tried NSolve. It always seems to work, although you have to be carefull with the coefficiencts (exact vs machine) precision as I have learned from many posts on this forum Best regards Pratik -- Pratik Desai Graduate Student UMBC Department of Mechanical Engineering Phone: 410 455 8134
- References:
- solve output "problem"
- From: Selina <yedekaccount@hotmail.com>
- solve output "problem"