Math, asked by yoyo58966, 1 year ago

write a program to display the following series upto 10 terms:
20, 29,40....................

Answers

Answered by RonakMangal
1

Answer:

Well, the three times table has the formula '3n' and the terms in this sequence are two less than the terms in the three times table so the formula is '3n - 2'. Where d is the difference between the terms, a is the first term and n is the term number.

Answered by Anonymous
13

//Using java

//Using utilization process.

import java.util.*;

{

public class Series

{

public static void main(String args[])

//using scanner class

Scanner in = new Scanner(System.in);

//Scanner class is not needed as there is no such case of taking input in the program but it will not affect

int a, i, n=4;

//using for loop as the program is repeatative

for(i=4;i<=13;i++)

{

a=Math.pow(i,2)+n;

System.out.println("Display the series"+a);

}

}

}

Similar questions