- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Write first four terms of the AP, when the first term $a$ and the common difference $d$ are given as follows:

$a = -2, d = 0$

Given:

$a = -2, d = 0$

To do:

We have to write the first four terms of the arithmetic progression formed.

Solution:

First term $a_1=a=-2$

Second term $a_2=a_1+d=-2+0=-2$

Third term $a_3=a_2+d=-2+0=-2$

Fourth term $a_4=a_3+d=-2+0=-2$

Therefore, the first four terms of the AP are $-2, -2, -2, -2$.

- Related Questions & Answers
- Find the Number of quadruples where the first three terms are in AP and last three terms are in GP using C++
- Find if a number is part of AP whose first element and difference are given using C++.
- Stack 1-D arrays as columns into a 2-D array in Numpy
- Python Program to Find the first Common Element between the 2 given Linked Lists
- Write a Python program to find the maximum value from first four rows in a given series
- Possible two sets from first N natural numbers difference of sums as D in C++
- Check if given number is a power of d where d is a power of 2 in Python
- Emulating a 2-d array using 1-d array in C++
- Find the nth term of the given series 0, 0, 2, 1, 4, 2, 6, 3, 8, 4… in C++
- Finding transpose of a 2-D array JavaScript
- Python Program to Form a New String Made of the First 2 and Last 2 characters From a Given String
- Evaluate a 2-D polynomial on the Cartesian product of x and y in Python
- Find four elements a, b, c and d in an array such that a+b = c+d in C++
- What are the symptoms of Vitamin D deficiency?
- Sum of the first N terms of the series 2, 6, 12, 20, 30…. in c programming
- Sorting 2-D array of strings and finding the diagonal element using JavaScript

Advertisements