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
-
16202 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
518 Solvers
-
124 Solvers
-
Regular polygon bounded by and bounding a circle
45 Solvers
-
Check if a matrix is a palindrome in all directions
135 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!