A PHP Error was encountered

Severity: Warning

Message: fopen(/var/lib/php/sessions/ci_sessionc7bjlrhrc2pc1hnp6lo0v52s08usbnqj): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 176

Backtrace:

File: /var/www/interviewmania.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /var/lib/php/sessions)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /var/www/interviewmania.com/index.php
Line: 315
Function: require_once

A pipe can fill a tank in ‘x’ hours and another pipe

Home » Aptitude » Pipes and Cistern » Question
  1. A pipe can fill a tank in ‘x’ hours and another pipe can empty it in‘y’ (y > x) hours. If both the pipes are open, in how many hours will the tank be filled ?
    1. (x – y) hours
    2. (y – x) hours
    3. xy
      hours
      x - y
    4. xy
      hours
      y - x
Correct Option: D

From the question ,
Part of the tank filled in 1 hour =
1
x

Part of the tank emptied in 1 hour =
1
y

When both are opened , then
Part of the tank filled in 1 hour =
1
-
1
=
y - x
xyxy

∴ Tank will be filled in
xy
hours
y - x



Your comments will be displayed only after manual approval.