From: "Think blue, count two." <>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv: Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: Nonlinear system of equations
References: <ikaj7r$5u9$>
In-Reply-To: <ikaj7r$5u9$>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 21
Message-ID: <vVvap.15264$QD2.4360@newsfe10.iad>
X-Trace: newsfe10.iad 1298827995 (Sun, 27 Feb 2011 17:33:15 UTC)
NNTP-Posting-Date: Sun, 27 Feb 2011 17:33:15 UTC
Date: Sun, 27 Feb 2011 11:33:15 -0600
Xref: comp.soft-sys.matlab:712730

On 26/02/11 4:04 AM, Milos Milenkovic wrote:

> I have the following system of nonlinear equations
> (a*c*h-a*b*c)/b^2+n/2=0
> (a*c*k^2/3-a*b*c*h+a*c*h^2+a*b*m)/b^3-n/2=0
> variables are h and b, other are constants.
> There is a way to solve it in MATLAB?

Yes with the symbolic toolkit.

syms a b c h k m n
(a*c*k^2/3-a*b*c*h+a*c*h^2+a*b*m)/b^3-n/2], h, b)

The answer involves b being the roots of a quartic, and h being an 
expression of the form (1 - f*b)*b where f is a relatively simple ratio 
involving some of the constants.