Reputation
3,358
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
10 26
Newest
 Excavator
Impact
~20k people reached

5h
comment Does Mathematica have an equivalent of C's nextafter?
You can also consider doing something like {IntegerPart[#1/$MachineEpsilon], #2} & @@ MantissaExponent[x, 2] to split the floating point number to integer-valued components and working further with those.
6h
comment Transform an expression to remove the singularity
What's this Reduce`ToDNF? Could it be replaced with properly documented BooleanConvert?
21h
revised What are the most common pitfalls awaiting new users?
added 33 characters in body
22h
revised How to read complicated result from Reduce?
eh...
22h
comment Where can I find mathematica documentation about @@@?
Also... if you write @@@ to documentation centre (at least on recent versions of Mma), it does list Apply for you.
1d
comment Use Do to evaluate an expression over two indices $i \ne j$ (over a list of tuples)?
You could also use pairs = Cases[Tuples[Range[4], 2], Except[{i_, i_}]] (or equivalent Select or DeleteCases) instead of maybe slightly more unintuitive reversing trick.
May
20
revised Evaluate $\pi$ using While
edited title
May
20
comment Evaluate $\pi$ using While
@BobHanlon While-based approach is just fine. I was just pointing out that symbolic results that work in $\mathbb{Z}$ (Sum/While) don't necessarily behave similarly enough in FindRoot, which operates in $\mathbb{R}$/$\mathbb{C}$. This time we were lucky!
May
19
comment Evaluate $\pi$ using While
I would want to point out your FindRoot trick is much more lucky than it would seem. f[n] happens to expand into $\mathbb{C}\to\mathbb{C}$ function which converges towards zero, but doesn't have a real value at most real points (as it's a spiral on complex plane). Abs saves you sort of in an accident, especially because resulting function is luckily well-behaving. It is probably also luck in choosing the sum to try out that you even find a real-valued root...
May
18
comment Heuristic Method to create an uniform distribution of points
Despite the fact documentation tells of 1D, 2D, 3D and nD Delaunay tetrahedralizations under DelaunayMesh, only dimensions 1 through 3 would seem to work.
May
14
awarded  Excavator
May
14
revised Generating list of functions from list of expressions
Consistency.
May
14
awarded  Cleanup
May
14
revised What are the most common pitfalls awaiting new users?
rolled back to a previous revision
May
14
revised What are the most common pitfalls awaiting new users?
deleted 224 characters in body
May
14
revised Decomposition of a semialgebraic set into connected components
deleted 11 characters in body
May
13
revised What are the most common pitfalls awaiting new users?
deleted 1 character in body
May
13
comment Continuity of function-example
I'm not entirely certain what you are looking to prove. Is it that your assumptions hold, or to find locations of discontinuities, or something else altogether?
May
13
revised What are the most common pitfalls awaiting new users?
Cut & paste error?
May
13
comment Continuity of function-example
My first suggestion would be finding a solution for x with Solve, looking for differing values of Limits of x from different Directions (1 and -1). This should be trivial, but I don't have Mathematica handy just now...