Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

The sequence calculator is used to calculate Arithmetic sequence and Geometric sequence.

A sequence a

In this case, common difference is generally denoted by‘d’ and first term is denoted by a.

A sequence a

a

In this case, common ratio is generally denoted by ‘r’ and first term is denoted by a.

The sequence 2, 5,8,11...... is an arithmetic sequence having common difference d = 3.

We know that, the nth term in arithmetic sequence is a

Common difference, d = 5-2=8-5=11-8=.....= 3

Here a = first term=2, d=3 and n=50

We know that the nth term of Arithmetic sequence equals to a+ (n-1)*d

Then we put the respective values for each term and we get as,

2+ (50-1)*3=2+49*3=149

This is how arithmetic sequence works.

The sequence 1, 2, 4, 8…… is a geometric sequence with common ratio as 2.

We know that, n

Here,

a=first term=1,

r=common ratio=2,

And n=10.

Now the 10

GS=a*r

=512.

This is how we proceed with geometric sequence.