WebThe sum of the series 1 + ( 1 + 2) + ( 1 + 2 + 3) +....... upto n terms will be A n 2 - 2 n + 6 B n ( n + 1) ( 2 n - 1) 6 C n 2 - 2 n - 6 D n ( n + 1) ( n + 2) 6 Solution The correct option is D n ( n + 1) ( n + 2) 6 Explanation for correct options Given: 1 + ( 1 + 2) + ( 1 + 2 + 3) +....... Let S = 1 + ( 1 + 2) + ( 1 + 2 + 3) +....... Web19 Aug 2024 · Find the sum of the series 1 + 1/2^2 + 1/3^3 +.....+ 1/n^n: ---------------------------------------------------------------- Input the value for nth term: 5 1/1^1 = 1 1/2^2 = 0.25 1/3^3 = 0.037037 1/4^4 = 0.00390625 1/5^5 = 0.00032 The sum of the above series is: 1.29126 Flowchart: C++ Code Editor: Contribute your code and comments through Disqus.
Python Program to Find Sum of Series (1+(1+2)+(1+2+3)+...till N ...
Web11 Feb 2024 · Approach: Declare an integer variable say ‘ n ’ and assign the value to it, which holds the value of Nth term. Create Scanner class object. Prompt the user to enter a number as value of n. Declare an long variable say ‘ sum ‘ and initialize it to 0. Use a for loop from i =1 to i<=n (incremented by 1) Declare an long variable say ... Web8 Jul 2024 · A convergent series is a sum that converges to a finite value, such as 1/1+1/2+1/4+1/8+… which converges to roughly 2. An oscillating series is a sum whose result vacillates between two values. This would be the very first series S(1) we encountered – 1-1+1-1+1-1… songscountry
Sum of the Series 1 (1 2) 1 (2 3) 1 (3 4) 1 (4 5) in C - tutorialspoint.com
Web14 Aug 2024 · This solution is not much effective as it uses loops. An effective approach to solve the problem is using the general formula for the sum of series. The series is 1/ (1*2) + 1/ (2*3) + 1/ (3*4) + 1/ (4*5) + … n-th terms is 1/n (n+1). an = 1/n (n+1) an = ( (n+1) - n) /n (n+1) an = (n+1)/n (n+1) - n/ n (n+1) an = 1/n - 1/ (n+1) sum of the ... Web9 Sep 2024 · A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions. WebThe sum of first 9 terms of the series 11 3+ 1+31 3+2 3+ 1+3+51 3+2 3+3 3+.... is A 96 B 142 C 192 D 71 Medium Solution Verified by Toppr Correct option is A) Was this answer … songs covered by mariah carey