Solving an equation of sums

4 views (last 30 days)
Konstantinos
Konstantinos on 2 Feb 2015
Commented: Konstantinos on 3 Feb 2015
I want to find y in an equation which has the following form:
1/(1+y)^1 + 1/(1+y)^2 + 1/(1+y)^3 + 1/(1+y)^4 + 1/(1+y)^5 + 1/(1+y)^6 + 1/(1+y)^7 = c
where c is a known constant real value.
Any help could be useful. thanks in advance!

Accepted Answer

Torsten
Torsten on 2 Feb 2015
Use "roots" to calculate the real zero x0 of the polynomial
p(x)=x^8-(1+c)*x+c.
Then y0=1/x0-1 will solve your above equation.
Best wishes
Torsten.
  3 Comments
Konstantinos
Konstantinos on 3 Feb 2015
Thanks a lot!!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by