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!

 채택된 답변

Torsten
Torsten 2015년 2월 2일

1 개 추천

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

Konstantinos
Konstantinos 2015년 2월 2일
Thanks for the help!..but where did you find p(x) ?
Torsten
Torsten 2015년 2월 2일
Geometric series:
x+x^2+x^3+x^4+x^5+x^6+x^7=(x^8-1)/(x-1) - 1 = (x^8-x)/(x-1)
with x=1/(1+y)
Best wishes
Torsten.
Konstantinos
Konstantinos 2015년 2월 3일
Thanks a lot!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

질문:

2015년 2월 2일

댓글:

2015년 2월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by