Question
The current ages of A and B are in the ratio of 4:7. Six
years from now, the ages of B and C will be in the ratio of 2:3. If the average of the present ages of A, B, and C is 44 years, what is the difference between the current ages of A and C?Solution
Let the present ages of A and B are 4x years and 7x years respectively. Age of B after six years = 7x + 6 years Age of C after six years = (7x + 6) × 3/2 = ‘10.5x + 9’ years Present age of C = 10.5x + 9 – 6 = ‘10.5x + 3’ years According to question: 4x + 7x + 10.5x + 3 = 3 × 44 21.5x + 3 = 132 21.5x = 129, x = 6 So the present age of A = 4 × 6 = 24 years Present age of C = 10.5 × 6 + 3 = 63 + 3 = 66 years So the desired difference = 66 – 24 = 42 years
B-trees and B+ trees are designed to maintain balance by adjusting the:
What is the maximum number of different Boolean functions involving n Boolean variables?
In the Entity-Relationship (ER) model, what does an entity represent?
Ternary relationship has how many participating entities?
What happens if an exception is thrown but not caught?
In a pipelined CPU design, what is the purpose of the instruction pipeline?
In a public blockchain, who can participate in the validation of transactions and creation of new blocks?
What is the decimal equivalent of the binary number 10101?
What will be the output of the code
int main(){
int array[] = {100,200,300};
cout<
}
Which circuit configuration has a single path for current flow?