+ 14

CHALLENGE: Collecting rainwater

Assume you are a high school teacher and you want to prove the following claim: To collect rainwater using a dish "FASTER", only the area of the dish matters and its shape (being circular shape or square shape) is not important. Unfortunately, it is not rainy. But you have a laptop equipped with your favorite programming language compiler and/or interpreter! >>> Write a program and prove your claim! Hint: Your students accept the fact that raindrops fall randomly.

7th Nov 2017, 8:33 PM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
21 Antworten
+ 9
With one box (×1), one box (x2) and one circle (x2) rain containers now.. https://code.sololearn.com/WHOsWK01C9yY/?ref=app
8th Nov 2017, 2:36 PM
Calviղ
Calviղ - avatar
+ 9
Here is my answer using Java. We consider a square dish and a circular dish with the same area and let 10 million raindrops fall randomly. We count the number of the drops in each of them and compare the result. We repeat this experiment 10 times! https://code.sololearn.com/caB71bj83Bo9
8th Nov 2017, 7:24 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 8
As you said theoritically dishes with the same area but of different shape collect the same amount of rainwater in a fixed time interval. So the challenge is to simulate an experiment to prove this fact.
8th Nov 2017, 6:57 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
9th Nov 2017, 8:53 PM
David Akhihiero
David Akhihiero - avatar
+ 8
@Hamid You'r welcome! and thank you for your nice answer and your great code
10th Nov 2017, 9:20 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 7
@sayan chandea I am considering the rate (speed) of collecting rainwater. For example in an hour.
8th Nov 2017, 6:40 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 7
Yes it is the claim. And you can easily write a program to prove it. Assume you have a circular pot and a square pot whose top has the same area and compute how many random raindrops they collect in a fix amount of time
8th Nov 2017, 6:48 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 7
I'll post an answer shorly to show how to prove it using a computer program.
8th Nov 2017, 7:07 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 6
Again you have a deterministic point of view to an physical experiment. You implicitly assume the claim that I have challenged you to prove it.
8th Nov 2017, 7:33 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 6
@sayan chandra Why don't you leave the equation for a second and simulate an experiment to convince students that the equation is correct?
8th Nov 2017, 7:46 AM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 4
Great challenge, here's my solution: https://code.sololearn.com/clF01ZGqHG7u/?ref=app
8th Nov 2017, 8:49 PM
Edgeton
Edgeton - avatar
10th Nov 2017, 9:17 AM
Hamid
Hamid - avatar
+ 3
This was a nice one!Thanks for the challange :-)
10th Nov 2017, 9:18 AM
Hamid
Hamid - avatar
0
suppose r=1---circle area is pi suppose a is root(pi)----square area is pi now if i even creat a function that will take the area as parameter... and the code will give amount..of water after sm hour nothing will be proven...
8th Nov 2017, 7:06 AM
sayan chandra
sayan chandra - avatar
0
see this calulates the total no. of raindrops on a dish in a particular no. of hours https://code.sololearn.com/cfLuzIo40yS9/?ref=app
8th Nov 2017, 7:17 AM
sayan chandra
sayan chandra - avatar
0
i dnt necessarilly find any logic of making this thing up.. equation have area in it...not shape.. so nothing to do experiment with.... if u take same two square dish...again the ratio wont be 1...ever.. if u take 1 dish fixed and other changin shape and do this 3 times answer wont be same...(1.0008 , 0.9998 , 1.004567)---((assuming they are close)) that doesnt proving anything.. cause the starting equation of calculating amount of water after a hour have area in it...
8th Nov 2017, 7:41 AM
sayan chandra
sayan chandra - avatar
- 1
so its like... there are 3 bowls suppose...(same height diff size) so bigger the area faster the collecting... isnt it??
8th Nov 2017, 6:45 AM
sayan chandra
sayan chandra - avatar
- 1
what to prove here?? supppse its raining 50 cc/half-metre/half hour so bigger the area bigger the collection.. random count of raindrops in an hour in both dishes are same...(not practically)-(but theoritically)
8th Nov 2017, 6:51 AM
sayan chandra
sayan chandra - avatar
- 1
its a one line calculation... like i wont even consider the dish.. just area...whatevr be the shape... area*time*(randrops per hour per unit area)
8th Nov 2017, 6:53 AM
sayan chandra
sayan chandra - avatar