541 reputation
48
bio website
location
age
visits member for 2 years, 1 month
seen 13 hours ago

Jan-Dvorak @ Miaou
Honnza @ gmail.com

"Haven't you heard? Crowdsourcing to stackOverflow is the new trend in basic debugging."

-- Jan Dvorak

"There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors"

-- variation of Phil Karlton's quote


1d
comment Best function getting 0 for odd parameter, 1 for even
This should evaluate pretty fast: min(abs x', abs(x'-2)) where x' = x `mod` 2
2d
comment What are some interesting sole exceptions or counterexamples?
More specifically: The function is defined as f x=sqrt(x+f x) => (f x)^2 = x + f x => f x = 1/2 +- sqrt(4*x + 1)/2 (where the upper branch is used here). This function's derivative converges to zero monotonically, which means this inequality is true for any reals > 2. x=0 is the other intersection with x=y and also a vertex of the parabola.
2d
comment What are some interesting sole exceptions or counterexamples?
Why would this be restricted to primes? This seems like a rather simple function that just happens to cross y=x at x=2.
2d
comment Check if Sequence is Graphic: 8, 8, 7, 7, 6, 6, 4, 3, 2, 1, 1, 1
have you tried applying the handshaking lemma yet?
Dec
15
comment Transformers - Why more coils in second coil causes more voltage
Now that your repost on Physics.se has been answered, you might want to delete this first attempt of yours.
Dec
15
comment Transformers - Why more coils in second coil causes more voltage
Now that you've reposted your question to Physics.se, you might want to delete this first attempt of yours.
Dec
15
comment Transformers - Why more coils in second coil causes more voltage
Well, why did you think this was the right place?
Dec
15
comment Transformers - Why more coils in second coil causes more voltage
First, learn the difference between the mathematical induction and the electromagnetic induction. Then come to a site that is concerned about the right type of.
Dec
15
comment Transformers - Why more coils in second coil causes more voltage
Why not ask at the right place right away?
Dec
13
comment Geometry Problem about tangent lines
I assume the middle of an arc is meant to be its intersection with its bisector?
Dec
13
comment Geometry Problem about tangent lines
No problem is beautiful if it's somebody else's homework that he just needs help with. Do you mind if I consider the title kinda inaccurate?
Nov
30
comment The infinite sum of the reciprocal of a strictly increasing sequence is irrational if we place a limiting condition on the se quence itself
izœc's suggestion still applies...
Nov
25
awarded  Pundit
Nov
18
awarded  Yearling
Nov
4
comment Does limit of $x_n=(1+\frac{1}{2})*(1+\frac{1}{4})*…*(1+\frac{1}{2^n})$ exist?
an increasing function is always monotonic...
Oct
28
comment Are the hyperreal numbers densely ordered?
What happens if you try to look at ${x+y}\over2$ as a number strictly between $x$ and $y$?
Oct
23
comment Best strategy for this game. [Nintendo Wii game]
"the optimal strategy involves some randomness." - as I said in the comments. But what's the optimal set of probabilities, if there is any?
Oct
23
comment Best strategy for this game. [Nintendo Wii game]
The strategy to always choose 5 sounds good if other players choose uniformly randomly (which is a bad strategy if yours clearly outperforms it). At each step you have a 8/27 ~ 1/3 chance of moving forwards, and you only need to move twice. An opponent that calls either 1 or 3 has a 4/9 ~ 1/2 chance of being uncontested, but they have to succeed 4 resp. 10 times. BUT if two different players choose that, one of the other two is sure to win.
Oct
23
comment Best strategy for this game. [Nintendo Wii game]
There is no winning pure strategy - if everyone plays the same, noone moves. And I'm not sure if there's a single dominating probabilistic strategy. Anyone willing to do the maths?
Oct
16
comment improper integrals: Need help please
@mm-aops I guess you meant for $a>1$?