-
Posts
7927 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Events
Everything posted by Sensei
-
Imatfaal, try solving your weightings when ball 28 is heavy. I have feeling it's not covered case on the list. Am I blind? Have not sleep whole night, so I might be.. Is this PDF covering the all cases, or just general algorithm? Another thing. If 1-14 is equal 15-28, why would 28 being heavier?
-
2 million kilometers is very short distance in cosmic scale. It's just 5x distance to the Moon. Earth to Sun is ~150 million kilometers. Earth to the closest planet ~38 million kilometers in the most optimal situation.
-
Because you're not counting correctly needed weightings. If you have 3 unknown balls. You need 1 weighting if you pick up two normal balls. If you pick up different and normal balls, then you need yet another weighting to make sure which is which.
-
?? Everything is in post #17. Average is 5.3 weightings.
-
Don't learn quantum physics from it.. Two electron neutrinos don't make muon..
-
But you never showed it in spoiler.. Or I am missing something? Where? In your head? It doesn't count. I have already showed you algorithm in post #24, when you asked.
-
2 mln k of what? Meters? Kilometers? Astronomic Unit? C?
-
tar, simply write [spoiler ] ..... [/spoiler ]
-
Binary-search is basically divide to half, and compare. http://en.wikipedia.org/wiki/Binary_search_algorithm Suppose so we have array of strings, and want to find correct one matching input (or whether it exists), you have length of array, so divide length by 2, and compare input string with entry that has index=length/2 if it's lower then you know that string you're searching for has index < length/2 otherwise it has index > length/2. Repeat it in loop, dividing remaining length/2 each time, and appropriately add/subtract center position, and you have ultra fast algorithm finding in library of words.. I have used such for dictionary that had multi million entries. You need just something like 22 comparison operations for 4 millions alphabetically sorted dictionary database. Variations of this algorithm are octree http://en.wikipedia.org/wiki/Octree and kd-tree http://en.wikipedia.org/wiki/K-d_tree (typically input is 3d vector) Without them, Hollywood/TV would be in '60-'70 years, without computer generated special F/X.. ps. Of course it doesn't have to be string. It could be integer, float, or vector, or whatever you like, as long as comparison operator possible to make.
-
That's why typical western housewife/househusband is using Teflon pan. http://en.wikipedia.org/wiki/Polytetrafluoroethylene
-
Almost like on roulette in casino (1 from 37). Once I saw that guy put maximum money (we have limits) on single number (and surrounding it pairs, corners etc. if you're not familiar with roulette hard to explain quickly), then croupier hit exactly that number, and guy earned ~40,000. And he leaved coins on the same number. Croupier hit it again, same number in a row! 80,000 earned in 3 minutes or so.
-
Job is good thing. Thinking is even better thing. But job where you're thinking is the best thing*.. *) thinking about things good for human kind, like science.. So banker etc. kind of people, thinking how to screw up other people, excluded.
-
I didn't read other solutions, so maybe somebody already used this technique: It's slightly modified binary-search algorithm. At best it'll find ball in 3 weighting (7.7%) At worst it'll find ball in 6 weighting (46.15%), and 5 weighting (46.15% cases).
-
When people don't have other jobs to do, they are starting thinking..
-
Yet another thing that has absolutely nothing to do with port forwarding.. Port forwarding happens at very low TCP/IP level. While DNS looking up happens inside of gethostbyname() function. You don't need to have any human readable DNS domain name, for port forwarding to work..
-
When I am returning from shop, and meeting "garbage-diver", I am giving them bun. One of them asked me whether it's for birds (he though it's one day, not fresh anymore). I answered it's for you for breakfast. He touched it, and "ohhh, it's still hot"... Other time, old women wanted from me "money for bread". I went to shop and bought bread, and gave her. She was upset! And started screaming on me, that she wanted money, not bread..
-
Three German students surprise a homeless guy See Buy bread to some homeless today..
-
Actually I have made such experiment in reality. Put magnets (Neodymium) inside of test tube (so they couldn't rotate), NS-SN (magnets levitated on another without touching anything). And placed everything on weighting scale. I will later make photo, if I find some unbroken test tube..
-
Emission of photons by hot material.
-
Energy must be conserved, so photon goes until being absorbed by some other particle. See inverse-square law in context of the Sun. http://en.wikipedia.org/wiki/Inverse-square_law Sun emits 3.86*1026 J energy per second. At 1 AMU we're receiving 1367 W/m2 At 1000 AMU we would be receiving 0.001367 W/m2 At 1000000 AMU we would be receiving 1.367*10-9 W/m2 Go on, and on, and we will reach situation with just one photon per unit of area at some large distance..
-
Can more ships and boats and submarines cause the sea level to rise?
Sensei replied to Nicholas Kang's topic in Earth Science
Why don't you use math to calculate it? Volume = Area * Average Height so Volume of all seas = area of all seas * average depth Then mass of all seas = volume * density Find size of submarine (almost capsule figure) Pretty easy, as it's volume of tube + sphere. Then make graph in Excel/SpreadSheet with y axis increase of height, and x axis quantity of submarines and show us your results.. -
Orbit would be unstable. One or both planets would be ejected from star system, sooner or later. Distance is not the only parameter. It's important what is their mass. They can be also have different angular momentum, and different ecliptic. There is couple star system simulators on the net. See this one for example https://phet.colorado.edu/sims/my-solar-system/my-solar-system_en.html Pick up preset Slingshot. Planet is ejected from such system.
-
Right, there is 1.3% difference between these two values. Either [math]\frac{p_0}{p_1}=\frac{101325}{100000}=1.01325 = 1.3\% difference[/math] and [math]\frac{m_0}{m_1}=\frac{1.2922}{1.2754}=1.01317 = 1.3\% difference[/math] So I don't know what for somebody is giving me negative??
-
I used this website as reference: http://en.wikipedia.org/wiki/Density_of_air And it has 1.2922 g/L at 0 C, 101.325 kPa In any case, it's 15-30% higher than OP value 1 g/L.
-
Cubic ton is different unit than the rest mentioned http://en.wikipedia.org/wiki/Cubic_ton g/mL is simply equal to g/cm3 Air has approximately 1.29 g/L at STP not 1 g/L So you should start from unification of units.