belisarius has settled
Reputation
825/400 score
 5h comment What is the difference between Dynamic[x] and Dynamic[ h[x] ] for DynamicModule variables? Please compare DynamicModule[{x = 1, z}, {Dynamic[x], Dynamic[List@x]}, Initialization :> (SetOptions[EvaluationCell[], CellEventActions :> {"UpArrowKeyDown" -> (x++;)}])] (which doesn't work), with DynamicModule[{x = 1, z}, EventHandler[{Dynamic[x], Dynamic[List@x]}, {"UpArrowKeyDown" :> (x++;)}]] (which works) Perhaps it can't be explained by the behavior of Dynamic[ ] alone, but it's its coupling with other constructs. 8h comment What is the difference between Dynamic[x] and Dynamic[ h[x] ] for DynamicModule variables? I believe the culprit is that the default value for Dynamic is TrackedSymbols -> All and it's missing the update (no idea why). Any other reasonable setting gets it right DynamicModule[{x, z}, {Dynamic[x, TrackedSymbols -> Full], Dynamic[List@x]}, Initialization :> (x = 1; SetOptions[EvaluationNotebook[], CellEventActions :> {"UpArrowKeyDown" -> (x++;)}])] 9h comment Three Body Problem Equilateral Triangle demonstrations.wolfram.com/PlanarThreeBodyProblem 10h comment Maximum Value of an Interpolating Function yMax = NMaximize[{y[r] /. sol[[1]], r0 < r < 30}, r]; returns{2.75998,{r->24.5087}} 11h comment How to find x intercept using two functions in NDSolve? The parametric Plot of {x[t],y[t]} will cross the x axis when y[t] is zero. Use WhenEvent Nov 27 comment How to extract a region shape from an 2 colour image? @Edmund Of course. I made up that because I found corner cases where FilliTransform wasn't enough. Trying to remember what were those :) Nov 27 revised How to evaluate the limit of a function consists of Range added 64 characters in body Nov 27 revised How to evaluate the limit of a function consists of Range deleted 21 characters in body Nov 27 comment How to evaluate the limit of a function consists of Range @robit You can find more info on the convergence of those series here ... those problems were Ramanujan's pets Nov 27 comment How to evaluate the limit of a function consists of Range @robit Well, it's the Kasner number. See this. Nov 27 answered How to evaluate the limit of a function consists of Range Nov 27 revised How to extract a region shape from an 2 colour image? added 529 characters in body Nov 27 revised How to extract a region shape from an 2 colour image? added 2 characters in body Nov 27 revised How to extract a region shape from an 2 colour image? added 555 characters in body Nov 27 revised How to extract a region shape from an 2 colour image? added 37 characters in body Nov 27 answered How to extract a region shape from an 2 colour image? Nov 27 comment How to extract a region shape from an 2 colour image? The intersection? Are you sure? It will be very difficult to calculate the intersection of two shapes that aren't completely specified (in the general case, I mean) Nov 26 comment Numerical Integration w/parameter Nov 26 comment How to terminate early a functional computation @MikeHoneychurch Thanks a lot! Nov 26 comment How to terminate early a functional computation I'm on V9- Could you please compare this with my cheap solution on the comments? I guess this one is faster, but I'm curious about the improvement