Question
If 8 times the eighth term of an Arithmetic Progression
(AP) is equal to 12 times its twelfth term, then the 20th term of the AP will beSolution
Let the first term of the AP be a & the common difference = d 8th term = A8 = a + 7d 12th term = A12 = a + 11d According to question, 8 × (a + 7d) = 12 × (a + 11d) 8a + 56d = 12a + 132d 12a − 8a = 56d − 132d 4a = −76d a = −19d a + 19d = 0 = A20
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...The Master Theorem gives time complexity for recurrences of the form:
Which of the following is true for the time complexity of binary search?
Which is not true about minimum spanning tree?
Which sorting algorithm divides the array into halves recursively?
Which command is TCL command
Which of the following is substring of “IXAMBEE”?
Which data structure is used in BFS (Breadth-First Search)?
Which of the following is considered the strongest type of encryption method in modern cyber security practices?
In a binary search tree (BST), what is true about the left child of a node?