Question
Two pipes, A and B, can fill a tank together in 72 minutes.
Both pipes are turned on at the same time. However, pipe B is turned off after 60 minutes, and the tank gets completely filled in a total of 1 hour and 20 minutes. How long would it take for pipe B alone to fill the tank?Solution
Let pipe A and B can fill ‘x’ units and ‘y’ units, of water per minute.
Total capacity of tank = 72 × (x + y) units
According to question;
60 × (x + y) + 20x = 72 × (x + y)
80x + 60y = 72x + 72y
8x = 12y
2x = 3y
x = 1.5y
Desired time = 72 × (1.5y + y)/y = 180 minutes = 3 hours
Which represents a collection of binary data stored as a single entity in the database management system?
Consider the following C++ code:
#include
#include
class Printer {
public:
void print(int n...
In pandas, what does df.groupby('A').agg({'B': 'sum', 'C': 'mean'}) return?
If a set 𝐴contains 4 elements, how many elements are there in its power set?
Finite automata ∑ represent has :
What is the primary purpose of an Integrated Development Environment (IDE)'s debugger?
When comparing two algorithms, Algorithm A has O(N log N) complexity and Algorithm B has O(N² ) complexity. For very large input sizes N:
Which of the following scheduling algorithms minimizes average seek time?
Which data structure is best suited for implementing a Breadth-First Search (BFS) algorithm?
What is Computer Output Microfilm (COM) primarily used for in data management and archival systems?