Reputation
35,880
Next tag badge:
122/100 score
18/20 answers
Badges
8 95 178
Newest
 Necromancer
Impact
~897k people reached

1h
comment Showing Boolean combinations with ParametricPlot3D
I hear these new region-related functions in version 10 seem up to the task…
5h
comment Making a symbol's new definitions be tried before all previously defined ones
Just saw this. +2 for the pattern, -1 for making my head hurt first thing in the morning… ;P
5h
comment Different result when using 0.5 or the fraction 1/2 (negative base exponential)
You are evaluating right at the branch cut of the power function; any inexactness/rounding will necessarily move the value off this cut.
8h
comment Piecewise and Opacity
The alpha channel of RGBColor[] can also be manipulated directly: Function[x, RGBColor[1, 0, 0, If[0 <= x <= π, 1, 0.2]]].
8h
comment Implementing Newton's method
As @Michael notes, the method depicted in the text is not the classical Newton-Raphson; it is in fact Schröder's method, or Newton-Raphson applied to the function $\frac{f(x)}{f^\prime(x)}$.
8h
comment List of prime powers
More compactly: rad[n_Integer?Positive] := Times @@ FactorInteger[n][[All, 1]]. You can use SplitBy[] instead in step 2.
8h
comment Extract x-values from InterpolatingFunction object?
fun["Grid"] will extract abscissas; fun["ValuesOnGrid"] will yield the corresponding ordinates.
13h
comment FindFit set of {x,y} data
"Where am I wrong?" - you didn't mention what output and/or error messages you got, or attach a plot of your fitted model along with the points. Help us help you!
13h
comment frequency of punctuation characters used in Mathematica languages
At first, I wondered why > was more frequent than <, until I remembered that -> gets a lot of use here. On another note, I see that ~ is not too frequent; how many are willing to bet that a select few people are the reason for ~ to show up anyway? ;)
13h
comment One point following another moving in a straight line?
I'll move this to math.SE, but to help you anyway: what you're interested in is called a pursuit curve.
14h
comment Arbitrary precision spline interpolation
@Alexey, if you're still interested in the multivariate generalization of your question, I would suggest writing a new question on it instead of editing this one.
14h
comment Arbitrary precision spline interpolation
@Alexey, as you might have already surmised, Lee intended that parameter of my parametrizeCurve[] as a way to smoothly adjust between the equispaced, centripetal, and chord length parametrizations; thus, classically, it is usually in $[0, 1]$. I will edit my other answer later to explain this.
20h
comment Arbitrary precision spline interpolation
Right, @Shutao; in that case, the procedure of mine linked in the OP should be used instead of the one in this answer.
20h
comment Arbitrary precision spline interpolation
@auto, certainly it will fail; your last two points have the same abscissa.
21h
comment Arbitrary precision spline interpolation
The parametrizeCurve[] routine in the procedure belisarius linked to is in fact a generalization; the default setting of the second argument yields centripetal parametrization, while setting it to $1$ gives the chord-length parametrization.
21h
comment How to make static labled tables?
Look up Grid[].
23h
comment How can I avoid to define public all methods in a package
If you want var1, var2, and g to be private, just don't put in usage messages for them! Long as you're in the private context (due to Begin[]), they're usable without the need to declare their full context.
23h
comment Shadowing of optional function arguments?
@Kuba, if the packages are meant to be completely independent, maybe, so you replace the annoyance of undocumentable strings with long-ish usage messages for the function proper. But for closely-related packages, a Common.m package looks more attractive to me.
23h
comment Shadowing of optional function arguments?
@Kuba, what would you suggest, then?
1d
comment Shadowing of optional function arguments?
Nicely done. :)