# Java Series Programs

## Java Iterative Stmts

Write the program to find the sum of the following series:

S = (a/2) + (a/5) + (a/8) + (a/11) + ……. + (a/20)

View Answer3 Likes

## Java Iterative Stmts

Write the program to find the sum of the following series:

S = (1/a) + (2/a

^{2}) + (3/a^{3}) + ……. to nView Answer2 Likes

## Java Iterative Stmts

Write the program to find the sum of the following series:

S = a - a

^{3}+ a^{5}- a^{7}+ ……. to nView Answer1 Likes

## Java Nested for Loops

Write a program in Java to find the sum of the following series:

S = 1 + (3/2!) + (5/3!) + (7/4!) + ……. to n

View Answer1 Likes

## Java Nested for Loops

Write a program in Java to find the sum of the following series:

S = a + (a/2!) + (a/3!) + (a/4!) + ……. + (a/n!)

View Answer1 Likes

## Java Nested for Loops

Write a program in Java to find the sum of the following series:

S = a - (a/2!) + (a/3!) - (a/4!) + ……. to n

View Answer3 Likes

## Java Nested for Loops

Write a program in Java to find the sum of the following series:

S = (a/2!) - (a/3!) + (a/4!) - (a/5!) + ……. + (a/10!)

View Answer1 Likes

## Java Nested for Loops

Write a program in Java to find the sum of the following series:

S = (2/a) + (3/a

^{2}) + (5/a^{3}) + (7/a^{4}) + ……. to nView Answer2 Likes

## Java User Defined Methods

Design a class to overload a function series( ) as follows:

(a) void series(int a, int n) — To display the sum of the series given below:

a - (a/2!) + (a/3!) - (a/4!) + …… n terms

(b) void series(int n) — To display the sum of the series given below:

1/2 - 2/3 + 3/4 - 4/5 + …… n terms

Write a main method to create an object and invoke the above methods.

View Answer2 Likes

Showing 51 - 59 of 59 Questions