Computers & Internet Logo

Related Topics:

Posted on Oct 22, 2010

In 3 buckets, two Buckets filled with 20 litres of water, first- 19 litres capacity(max) second- 13 litres capacity(max)-Filled third- 7 litres capacity(max) -Filled i need to fill 2 buckets with 10 litres each. Please give the solution quickly

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

New Friend:

An expert that has 1 follower.

Hot-Shot:

An expert who has answered 20 questions.

  • Contributor 29 Answers
  • Posted on Oct 22, 2010
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

New Friend:

An expert that has 1 follower.

Hot-Shot:

An expert who has answered 20 questions.

Joined: Oct 22, 2010
Answers
29
Questions
0
Helped
7117
Points
84

Assume the following:
B1 = 19 litres capacity
B2 = 13 litres capacity
B3 = 7 litres capacity

B2 and B3 are full. The answer is:

1. Pour 2 litres from B3 to B1
2. Pour 8 litres from B2 to B1
3. Pour the remaining 5 litres in B3 to B2

Another answer:

1. Pour 10 litres from B2 to B1
2. Pour 7 litres from B3 to B2

In both answers you will get 10 litres in two buckets.

Rate if this answer was helpful.

Thanks

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1helpful
1answer

Can I fill in water in my washer samsung wa80V3 using a bucket. There is water supply shortage where I live

yes
put the cloths in select a water level put a couple of buckets in the tub and turn the machine
keep adding buckets until the machine goes to was
bit more difficult if front loader but remember this , you will use the same amount with a bucket as you will through the tap for the machine
tip

How to divide bandwidth in squid

What is Bandwidth throttling :

Consider we are having 512Kbps Internet connection line. And the system administrator wants to divide the whole bandwidth into two sections. Read More One for the normal users and the other for special users who need high speed internet connection. So that all the normal users can use 256 Kbps and the special users can use the remaining 256 Kbps. So in this case you have to make a bandwidth throttling to differentiate the whole single pipe line into two sections. This can be achieved using squid proxy server.

Squid main configuration file ----- /etc/squid/squid.conf
Squid log file ----- /var/log/squid/access.log
Cache log file ----- /var/log/squid/cache.log

Bandwidth throttling in squid is done using Delay Pools. Delay pools uses bucketing system.

Throttle Calculations
512Kbps(Kilo bits per second) -----> 64Kbytes -----> 64000bytes
256Kbps -----> 32Kbytes -----> 32000bytes
128Kbps -----> 16Kbytes -----> 16000bytes
64Kbps -----> 8Kbytes -----> 8000bytes

Points to remember in Delay Pools:
There are basically three things to note, they are - delay pools, delay class, delay parameters.

Delay pool --- Defines how many pools we want to use
Delay Class ---- Defines type of the pool you are going to use.
Delay Parameter � allots the restrictions and fill rate/maximum bucket size.

As I have said previously in this documentation delay pools uses bucketing system.
Now there are three types of buckets

Class 1 pool: A single aggregate bucket, shared by all users
Class 2 pool: One aggregate bucket, 256 individual buckets
Class 3 pool: One aggregate bucket, 256 network buckets, 65,536 individual buckets

If you still have any problem in the above syntax (ie) aggregate, network and individual buckets to understand, then here is a simple syntax/example for all these

For Class 1 delay pool
delay_parameters 1 32000/32000

For Class 2 delay pool
delay_parameters 1 48000/48000 48000/48000

For Class 3 delay pool
delay_parameters 2 32000/32000 8000/8000 16384/16384

Example Setup:
One 512Kbps pipe line. We want to distribute the whole pipe line into 2. One for normal users and other for special users as follows
Normal users --- 128 Kbps
Special Users --- 384 Kbps

Configuration Setup File /etc/squid/squid.conf:
Before getting into the delay pools setup first create the acl(Access Control List). Through acl you can define rules according to your requirements. Find the Access Control section in the squid.conf file.
Here is an example:

acl superusers src 192.168.1.1 192.168.1.2 192.168.1.3
acl mynetwork src 192.168.1.0/255.255.255.0

Here in the above example only three users are special users who need 256Kbps bandwidth which are listed in the specialusers label and the whole network including he special users are labeled as mynetwork.

After creating the users you have to allow them to access the internet. Below line specifies for allowing the mentioned labeled users.

http_access allow superusers
http_access allow mynetwork

Now comes the funny part Delay Pools. Here We will deal with a basic example for delay pools.

The example is as follows: We are having 512Kbps pipe line connection. We want to divide it into segments one for the special users, web servers and the other for the normal users in the organization. The special users and the web servers are given 384Kbps speed and the remaining 128Kbps for the normal users.

Delay Pools for super users:
Check for the delay pools section in the squid.conf file.
Start the configuration for delay pools as follows
==================================
########## Delay Pools############
==================================

delay_pools 2

As described above we have to create 2 delay pools, one for each delay class.
====================================================
######### Defining Delay pool 1 in class 2 #########
====================================================

delay_class 1 2
delay_parameters 1 48000/48000 48000/48000
delay_access 1 allow superusers

The first line specifies Delay Class which defines delay pool 1 for the delay class 2.

Why we are using delay class 2 here?

The first part on the second line ie �1� defines the pool One(1)

The second part on second line defines the aggregate 48000/48000(restore/max). where restore is the number of bytes (not bits - modem and network speeds are usually quoted in bits) per second placed into the bucket, and maximum is the maximum number of bytes which can be in the bucket at any time.

The third part on second line is individual buckets again 48000/48000(restore/max). All the special users and the web servers should obtain the same speed of 384 Kbps.

The third line allows the super users to fall in that bucket.

=====================================================
######### Defining Delay pool 2 in class 3 #########
=====================================================

Delay Pools for normal users:

delay_class 2 3
delay_parameters 2 32000/32000 8000/8000 16384/16384
delay_access 2 allow !superusers

The first line specifies Delay Class which defines delay pool 2 for the delay class 3.

The first part on the second line ie �2� defines the pool Two(2) of class three(3)

The second part on second line defines the aggregate 32000/32000(restore/max) as aggregate (ie for whole).
Note : - If you use -1/-1. �-1� indicates �unlimited�.

The third part on second line is network bucket. We have defined here 8000/8000 .

The fourth part on second line is for individual.

The third line specifies to throttle all the users except the super users.

How to check:
First set proxy settings in your browser as follows:
Go to any client machine and open an IE(Internet Explorer). Select "Tools" menu then select "Internet Options" then select "Connections" tab. After that select the "LAN Settings" button, you will get a new pop-up window there you select "Use proxy server for your LAN" check box and finally give your squid proxy servers ip address and the port on which the squid proxy server is configured. Now press "OK" and again press "OK". Cloase the window and now open a new window.
Second Check by downloading any large file

Start to download any lage file not less than 10MB size. Because when ever you download any small file it used to download it quickly. When you start downloading large file at first if you note some starting bytes of the file gets downloaded quickly and later it gets slowed down.

Keep a note on the download pop-up box which shows the speed limits in "kbps". When we start downloading note on the pop-up box the speed limits in kbps shows high value and then slowly gets decreased. This means when you start downloading the bucket gets filled and slowly it decreases and becomes stable to the specified limit in Kbps according to the configuration. Remember again as i told restore value is used to set the download speed, and the max value lets you set the size at which the files are to be slowed down from.
0helpful
1answer

Kelvinator Washing Machine only works when you fill it with buckets of water

Problem sounda like its within your valve . take off hoses in the back of washer and check for clog to the valve . if nothing found change out the valve. strange for both to fail but it can happen .
0helpful
1answer

I have a Kenmore Series 70 Super Capacity washer. The model number is 110.23712 200 (which doesn't seem to be a valid number when I do an internet search, but is the number on the plate on the unit). I...

Getting Sears parts 110.23712200
I will tell you what happened to me. One day my water valve quit. On that veryday my sister in law paid her weekly visit to wash her and my BIL's clothes. She bypasses 5 laundry matts to get here. I tell my wife we should not have a $75 water bill. So the water would not fill in the washer. I told her to get a 5 gallon bucket and fill it up then see how many buckets it took to fill the washer. 7 buckets later the washer kicked in and started doing it's thang. 35 gallons of water to wash a full load on highest level. Then 7 more buckets to do the rinse. 70 gallons of water to wash one load of clothes. I figured I had her cured from coming over every saturday just to wash clothes. But she found out I fixed it. LOL She has a washer and dryer at her house but IF she goes overs a certain amount she uses then the trailer park charges her extra for water. Soo she comes ta my house. Sweet.

If you need further help, reach me via phone at https://www.6ya.com/expert/dan_73bbd84fe1d95b61

0helpful
1answer

A shopkeeper bought 20 buckets for Rs 1200. Find the selling price of each bucket, if he wants to make a profit of Rs 15.50 on each bucket.

Ow this is a math problem! Here is my solution:
Based on the purchased price or Rs1200 for the 20 buckets, each bucket would then cost 1200 / 20 = Rs 60.
To make a profit of Rs 15.50 per bucket, he should sell each bucket with the price of Rs 60 + 15.50 = Rs 75.5.
=)
Mar 02, 2011 • Cell Phones
0helpful
1answer
0helpful
1answer

GWL15 starts to fill, water shuts off & water coming in slows to a trickle. Hot & Cold lights flash, machine beeps. If filled with buckets of water cycle will finish.

A common fault with F&P machines is in the water inlet valves.It is not afvisable to exchange the hot and cold valves because they are different. The faulty valve should be replaced. . Goodluck.....Nomess
0helpful
1answer

I can't drain the water from the tub. we just had it installed and has been filled with water so that the tub can set. but now i can't get the water out!!

Is the trap and drain not installed yet? If there is no plumbing to drain into then I would siphon or pump it out into buckets.
1helpful
4answers

Water in the dashboard Porsche Cayenne

I have been hearing and experiencing some sort of reservoir of water swishing around in the passenger side of my 2004 Cayenne. The carpet is soggy and there is evidence of moisture intrusion when I open the doors. There is a film of moisture on around the lower door jams. Of course Porsche is nowhere to be found in this discussion. My beautiful car is now a camel and I can not findc a descent explanation anywhere. Your post is the closest thing I can find. And did the "garage" charge you to extract the five buckets of water? The folks at Porcsche have no idea and no one else has "had" the problem. WTF?
Not finding what you are looking for?

244 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...