Path: news.mathworks.com!not-for-mail
From: "Alex " <thzachara@yahoo.gr>
Newsgroups: comp.soft-sys.matlab
Subject: Solve equation with the unknown being inside a summation loop
Date: Wed, 14 Oct 2009 20:54:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <hb5dpb$nco$1@fred.mathworks.com>
Reply-To: "Alex " <thzachara@yahoo.gr>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1255553643 23960 172.30.248.37 (14 Oct 2009 20:54:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 14 Oct 2009 20:54:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2040772
Xref: news.mathworks.com comp.soft-sys.matlab:577348


Hi.
I need to solve the following equation:

sum{ (a(i) - b ) ^ x } - c + d / x =0

where i=1 to 10, a, b, c, d are known constants and x is the unknown variable.

Normally one can use a loop to calculate the sum and then use fsolve. 
But here x is inside the loop making things complicated.

Is there a way to solve the above equation?

Thanks and regards,
Alex