TranceAddict Forums (www.tranceaddict.com/forums)
- Chill Out Room
-- Smart?
Pages (6): « 1 2 [3] 4 5 6 »
| quote: |
| Originally posted by Resnick ya i know, but they said the answer is 15...which i dont see how it can be |
| quote: |
| Originally posted by DigiNut I thought it was 14. The answer's been explained: drop the first egg at floor 14, then 27, 39, 50, 60, 69, 77, 84, 90, 95, 99. Then once it breaks, just count up from the last floor where it didn't break (or from 96 if it never broke). The max you'll ever have to do is 14. |
| quote: |
| Originally posted by Resnick ok how is the first building one not log n?? first of all, is N unique to both eggs or each egg has its own different height? cuz it doesnt really say, if it is not unique, then its logn of each... taking worse case, log[base2] n = 8 ..*2 = 16 which is the right answer |
| quote: |
the genie one, u can just do anything and assume at inf it will work out???? i dunno |
| quote: |
| Originally posted by Resnick nah too complicated, drop 1 at 50, if it breaks do it at 25...and so on...do it for both edit* check my last post's edie..lol sorry too lazy to repost |
| quote: |
| Originally posted by Flyboy217 First, the problem says that each breaks from the height N (i.e., they are the same). See DigiNut's reply for a solution requiring only 14 drops. Also, log2(100) = 7. This solution would work if you had 7 eggs, but you don't. Try actually devising a solution using binary search and you'll see why it fails (both of your eggs will be broken before you learn anything). |
Re: Re: Re: Smart?
| quote: |
| Originally posted by DigiNut I'm pretty sure that's what it means. Those are both subsets, with the same sum, except that the set you picked has far *more* than two subsets with that some. You only need to prove that there's at least two. |
| quote: |
| Originally posted by Flyboy217 This is a tempting (but wrong) assumption. It is true that a random solution will work approaching 100% probability, but this is not a "guaranteed" solution. As an analogy, imagine the real number line. If I ask you to pick a point on it at random, you will with 100% probability choose a non-integer (or, for that matter, irrational) value. This does not preclude you from picking an integer though. Similarly, 100% of the integers contain the digit "3", but this doesn't mean that they all do. It's an interesting and widely-misunderstood point in mathematics... |
| quote: |
| Originally posted by Flyboy217 Yes, the value is dependent on A and B; I'm looking for a value in terms of A and B. (You may tell me, for example, that the value of the most expensive item you can't buy is A*B-3. But that's not right :-)) |
I think I figured out the answer to number 2, it's 5 weights.
If you have a weight, there are 3 things you can do with it: put it on the left, put it on the right, or put it nowhere. This gives you 3^n (where n is the number of weights) possible options AT MOST. You also have to account for the fact that doing nothing with all weights gets you zero, which won't balance anything, and that for each setup there's also a mirror image setup. So the maximum number of different total weights you can get from n weights is (3^n - 1)/2. Obviously to get the maximum, you have to pick the proper weights...
For 4 weights, this gets 40; for 5, it gets you 121, which is enough.
Flyboy, you didn't say we had to actually identify the weights, and I'm not sure how to go about doing that... I'm pretty sure my answer above is correct, though.
Edit: actually, I think it would make sense to pick those weights as powers of 3, i.e. 1, 3, 9, 27, and 81... would that do it?
k flyboy i think i know what your saying about the irration number everytime, but thats the limit as u pick infinite random numbers...its not an actualy value, which is what im saying is the solution to the genie one...
but its different case, all im saying is at the end it will work at, and in fact it will
but ur saying 'the limit' or irrational / ration will go to infinite, so ur doesnt actually reach 100% irrational, where as mine does
forget it tho, tell us the answer 
| quote: |
| Originally posted by Resnick wtf? why would it be 100% prob that i pick a non-integer? why cant i pick 3 or 4or 5? |
| quote: |
but re-read my post, i just proved that u cant find a general solution in terms of A and B , so either someothings wrong with the questino, or with my proof |
| quote: |
| Originally posted by DigiNut I think I figured out the answer to number 2, it's 5 weights. If you have a weight, there are 3 things you can do with it: put it on the left, put it on the right, or put it nowhere. This gives you 3^n (where n is the number of weights) possible options AT MOST. You also have to account for the fact that doing nothing with all weights gets you zero, which won't balance anything, and that for each setup there's also a mirror image setup. So the maximum number of different total weights you can get from n weights is (3^n - 1)/2. Obviously to get the maximum, you have to pick the proper weights... For 4 weights, this gets 40; for 5, it gets you 121, which is enough. Flyboy, you didn't say we had to actually identify the weights, and I'm not sure how to go about doing that... I'm pretty sure my answer above is correct, though. |
| quote: |
| Originally posted by DigiNut I think I figured out the answer to number 2, it's 5 weights. If you have a weight, there are 3 things you can do with it: put it on the left, put it on the right, or put it nowhere. This gives you 3^n (where n is the number of weights) possible options AT MOST. You also have to account for the fact that doing nothing with all weights gets you zero, which won't balance anything, and that for each setup there's also a mirror image setup. So the maximum number of different total weights you can get from n weights is (3^n - 1)/2. Obviously to get the maximum, you have to pick the proper weights... For 4 weights, this gets 40; for 5, it gets you 121, which is enough. Flyboy, you didn't say we had to actually identify the weights, and I'm not sure how to go about doing that... I'm pretty sure my answer above is correct, though. Edit: actually, I think it would make sense to pick those weights as powers of 3, i.e. 1, 3, 9, 27, and 81... would that do it? |
| quote: |
| Originally posted by Resnick k flyboy i think i know what your saying about the irration number everytime, but thats the limit as u pick infinite random numbers...its not an actualy value, which is what im saying is the solution to the genie one... but its different case, all im saying is at the end it will work at, and in fact it will but ur saying 'the limit' or irrational / ration will go to infinite, so ur doesnt actually reach 100% irrational, where as mine does forget it tho, tell us the answer |
. But just as you may pick an integer value, you may be given an unsolved case.
| quote: |
| Originally posted by Flyboy217 Not really sure what you mean. The actual value of the probability of choosing an irrational number is 1. Not just close to 1, but 1. You will, with 100% probability, pick an irrational number. But you still may pick a rational one. (This sounds strange, but read on). Similarly, the probability that your random solution will work is *exactly* 100%. This is not the same as saying that it will work though, because with 0% probability it won't . But just as you may pick an integer value, you may be given an unsolved case. This is highly counterintuitive, and I fear I won't convince you of its validity by myself. I'm stepping out right now, but I'll dig up some references online to show you why this is so. I won't spoil the fun by answering yet though |
For #3, could you just tell me whether or not the solution has anything to do with Gaussian distribution? It's the only area of statistics I know of relating an infinite array of random numbers to a constant distribution.
I believe you could prove 4(a) using a similar format as (2). I'll have to think about it for a few minutes...
| quote: |
| Originally posted by Resnick so what ur saying is, if i ask a billion people a billion times each, that every single time, every single one of them will pick an irrational number? thats bullshit |
Ok, so for 4(a), if you pick 10 numbers, then there are 2^n possible subsets including the null set. This gets you 1024 different sets, and you can only take values up to 1000, so at least 24 of those cannot be unique.
Edit: crap, that doesn't work, it's the individual elements that only go up to 1000, not the sum.
I'm sure my answer is close, I just haven't figured out how to adapt it.
| quote: |
| Originally posted by DigiNut What you're speaking of is not actually random. Humans can't generate random numbers. Asking your friend to pick a number between 1 and 10 is considered void in almost any statistical experiment. |
If the main set has two nondistinct values, are two subsets using the "other" nondistinct value considered distinct?
i.e. if the main set is {2, 2, 3} then can {2, 3} and {2, 3} be considered distinct?
I'm assuming the answer has to be yes, because otherwise you could just pick your main set as {2, 2, 2, 2, 2, 2, 2, 2, 2, 2} which would essentially disprove your statement... but I'm asking anyway. 
| quote: |
| Originally posted by Resnick wow i cant believe im having this discussion, first of all, what ur talking about isnt math, its philosophy once u bring that into the picture, NONE of these problems have solutions (its like saying for the building one, what if i picked n=37 without dropping either egg...that using 0 droppings) and infact that would be the right answer so is this a math problem or a waste of our time? |
| quote: |
| Originally posted by DigiNut What on earth are you talking about? The egg problem was specified as WORST CASE, i.e. the HIGHEST possible number of drops, assuming it's the LAST one you "guess". I'm not talking about philosophy at all. Any elementary study of statistics will tell you that human guessing cannot be used to create a set of random numbers. I'm still frustrated with the wording of some of these questions, but it sounds like you're just sour grapes over not being able to figure them out. |
| quote: |
| Originally posted by Resnick yes and in the egg problem the worst case is 0, BECAUSE the number n doesnt change depending on which floor u drop it on...but fuck that, thats philosophy and has nothing do to with math ok, so what is random? and if u say computers can produce a random number then i want ur proof on that or pick something else that is completely random |
| quote: |
| Originally posted by DigiNut Ugh, I'll let Flyboy argue with you over the egg thing, because that question's been answered and you seem to neither understand what "worst case" means, nor the nature of random numbers. No, a computer does not generate random numbers, in fact, if you read any textbook, it will refer to them as "pseudo-random" numbers because it's based on an algorithm. Very little in this world is actually 100% random, independent of outside sources. But lots of things can be modelled that way, like the movement/position of subatomic particles. |
| quote: |
| Originally posted by Resnick very little in this world is 100% random? name ONE case thats 100% random!! |
| quote: |
| Originally posted by DigiNut Argh... aren't you studying engineering? You're going to have a lotta trouble if you have so much trouble grasping the concept of a random number. I'm not going to get into a whole discussion of random number theory and stochastic processes, you can read that in a textbook. Human guesses are not useful as random numbers. Period. |
Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.