The function 'P(n)' is defined as the series product:
where 'T(n)' is the triangular sum:
It can be proven that P(n) is convergent, with:
Write a function that outputs the integer value of 'n' when '3 - P(n)' first becomes less than or equal to a given tolerance 't'.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers18
Suggested Problems
-
Return a list sorted by number of occurrences
2890 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
648 Solvers
-
1412 Solvers
-
Form a square matrix from four square sub-matrices
134 Solvers
-
Find the sines of an isosceles triangle when given its area and height
58 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!