write a program to find the sum of the following series
1) s= (a+1) + (a+2) + (a+3)+......... (a+n)
2) s= (1/a) + (2/a^2) + (3/a^3) .....to n
3)s= a-a^3 + a^5-a^7+ ...... to n
FIND IT IN JAVA PROGRAM
Answers
Answered by
2
Explanation:
First program i.e No.1
1) s= (a+1) + (a+2) + (a+3)+......... (a+n)
Second program i.e No.2
2) s= (1/a) + (2/a^2) + (3/a^3) .....to n
Third program i.e No.3
3)s= a-a^3 + a^5-a^7+ ...... to n
Attachments:
Similar questions
Geography,
2 months ago
Physics,
2 months ago
English,
2 months ago
Biology,
4 months ago
Hindi,
4 months ago
Social Sciences,
10 months ago
Math,
10 months ago
Computer Science,
10 months ago