Question
If x + 1/x = 3, find the value of x³ +
1/x³.Solution
Using the identity: x³ + 1/x³ = (x + 1/x)³ - 3(x + 1/x). Substituting x + 1/x = 3: x³ + 1/x³ = 3³ - 3(3). x³ + 1/x³ = 27 - 9 = 18. Correct option: a) 18
In Python, which method is used to convert a string to lowercase?
In Java, which method is called when an object is garbage collected?
In C, what will be the output of the following code?
int a = 5;
printf("%d", a++);
Which of the following is correct for a single-line comment in C++?
Which of the following systems is typically designed to support managerial decision-making? Â Â Â Â Â Â
Which of the following algorithms is commonly used in Machine Learning for clustering tasks?   Â
Which of the following is used to handle exceptions in Java?
Which of the following is true about Java interfaces?
Which of the following algorithms is used for finding Minimum Spanning Tree?
Which of the following is used to declare a list in Python?