Reputation
69,928
Next tag badge:
1551/1000 score
197/200 answers
Badges
3 122 278
Newest
 Nice Answer
Impact
~1.1m people reached

Apr
18
comment Custom operator form for system functions?
How about Infix notation? It looks nice for your example: Range[10]~RandomSample~3. No need to Unprotect anything.
Apr
17
comment How to make this beautiful animation
I think I've managed to find the source of the animation and added it to the question. In searching for it, I saw how rampant it is to rip off original art like this.
Apr
17
comment How can I create a graphic of a wedge of a cylinder (like a slice of pie)?
I made a function that can do that as part of this answer. It's called ellipse3D
Apr
16
comment How to make this beautiful animation
I strongly endorse the question by @ColtMcCormack as to the source of the animation posted in the question. You can't just post things like that without giving proper credit.
Apr
16
comment For loop works at top-level but not in a function
OK, I've added an explanation.
Apr
16
comment Approximating for $a \gg b$
@DanielLichtblau Your suggestion is the continuation of what I initially proposed, but what Lucas claimed "fails badly" - so I think he really wanted something that looks like what he wrote - numerical accuracy wasn't enough for him. That's why I settled on the O method instead.
Apr
16
comment For loop works at top-level but not in a function
With a slight modification it works - see my answer.
Apr
16
comment For loop works at top-level but not in a function
What is the input you're using? To reproduce the error you should let us know what list you actually used.
Apr
14
comment Is there a way to diagonally strike through a character or group of characters in a DisplayForm equation?
@ibeatty Thanks - looking at your last comment, I'm glad your original answer wasn't 42 because then I wouldn't know the question...
Apr
14
comment Is there a way to diagonally strike through a character or group of characters in a DisplayForm equation?
@ibeatty I think it's fixed now.
Apr
14
comment Is there a way to diagonally strike through a character or group of characters in a DisplayForm equation?
@ibeatty I added a palette that automates things.
Apr
14
comment Plot a alphabetic character in 2D
Yes, that's why you get this. But do you want a smooth curve, or just a way to calculate more points? It's not clear.
Apr
14
comment Plot a alphabetic character in 2D
Obviously ListPlot can work only if you add more points. Maybe you want this?
Apr
13
comment Is there a way to use iframes in a notebook?
The closest (that I know of) to what you're asking is that you can embed a movie from the web in a Dynamic cell, as I do here in edit 3 of this answer. However, it only works if you have the URL of the actual movie data.
Apr
13
comment ToExpression and ToBoxes aren't inverses of each other?
@AlexeyPopkov I already upvoted the first version...
Apr
13
comment Approximating for $a \gg b$
@Lucas Maybe the edited answer does what you want...
Apr
13
comment Approximating for $a \gg b$
@Lucas Whether to call it failure depends on what precisely you consider the small parameter. The info you initially gave is not sufficient to define what you wanted to do with ArcTan, so I picked one of many ways to do it.
Apr
13
comment Can you plot pure function without specifying variable?
@J.M. Yes - but one person's loss is another person's gain - sometimes the sampling slows plotting down and you end up turning it off anyway...
Apr
12
comment Is there a way to diagonally strike through a character or group of characters in a DisplayForm equation?
For a single character, you can perhaps get by with this: How to use Feynman Slash notation?
Apr
12
comment ToExpression and ToBoxes aren't inverses of each other?
You're right, Hold[1/1] is treated differently, apparently multiplied by 1 (checked for version 8). But is there any place in the docs that says ToExpression and ToBoxes are inverses of each other? I don't think that's what defines them.