Problem 420. Sum the Infinite Series II
For any x in the range 0 < x and x < 2*pi radians, find the sum of the following infinite series:
c = 1 + 1/2*cos(x) + 1/2*3/4*cos(2*x) +
1/2*3/4*5/6*cos(3*x) + 1/2*3/4*5/6*7/8*cos(4*x) + ...
as a function of the form c = infinite_series2(x).
Solution Stats
Problem Comments
-
9 Comments
Show
6 older comments
@bmtran (Bryant Tran)
on 16 Mar 2012
i agree
Claudio Gelmi
on 3 Jan 2013
I have a closed form for the series and I'm having problems with test case 3...It seems that I joined the club...
Ned Gulley
on 15 Jan 2013
There seems to be agreement that test case 3 has issues. Since the original author never returned, I commented out that test case.
Solution Comments
Show commentsProblem Recent Solvers19
Suggested Problems
-
First non-zero element in each column
871 Solvers
-
Compute a dot product of two vectors x and y
1000 Solvers
-
205 Solvers
-
Determine if input is a Narcissistic number
200 Solvers
-
106 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!