Reputation
23,400
Next tag badge:
184/100 score
17/20 answers
Badges
2 58 115
Newest
 Nice Answer
Impact
~356k people reached

Sep
1
comment Importing High Precision (22 digits) data from a file
@jason There is no import as string in my example. I used ImportString since it works exactly as Import but allows one to show a whole example without reference to an internal file. If you want that specific number, then that specific number will need one more zero in your input file. Keep in mind also that you should get the binary number with the specified precision closest to your input, so that trailing digits are often present. I can't verify your 8.24574098106 as I get 8.24574097909*^8, which seems quite right.
Sep
1
comment Use Mathematica to calculate the area enclosed between two curves
Is there an obfuscated Mathematica contest?? :)
Aug
31
comment Specifying Range of RSolve
@QuinnCulver I mean that $|x_{n}-3/4|<(|x_{n-1}-(3/4)|)/2$. In words, the distance between $x_n$ and $3/4$ is a little less than half the distance between $x_{n-1}$ and $3/4$. You can verify this numerically by looking at Ratios[N[Table[q[n],{n,0,9}]-3/4]] - you'll see a sequence converging to $1/2$. Analytically, you're iterating $f(x)=(-2x+3\sqrt{4x+1}-3)/2$ which has a fixed point at $x=3/4$ satisfying $f'(3/4)=1/2$.
Aug
28
comment Exporting as GIF
No problem - I'm glad you figured it out.
Aug
19
comment Coordinate extraction and manipulating graphs as graphics objects
Oh, it's just one tiny little change. I thought about editing your answer but you can do it, if you want. And, yes, I've posted the GraphConvert thing before but more recently learned of the more intuitive approach with Show.
Aug
19
comment Coordinate extraction and manipulating graphs as graphics objects
The GraphComputationGraphConvertToGraphics function is called by Show` when applied to a Graph. Thus, Show[g] accomplishes the same thing.
Aug
16
comment What's new in Mathematica 10 that begginers must know?
JuliaSetPlot is my personal vote - but it certainly depends upon your interests.
Aug
11
comment DSolve problem with system of linear ODEs
I have to admit that I find it an odd syntactical difference that NDSolve works while DSolve does not. I don't think I'd call it a bug, though.
Aug
11
comment DSolve problem with system of linear ODEs
You need to define X: X[t_] = {x[t], y[t], z[t]}.
Aug
11
comment Automatically detect largest interval over which NDSolve can find a solution
@MichaelE2 You are probably right - I was clearly being paranoid. :)
Aug
11
comment Fill gap created by Exclusions
I feel strangely compelled to upvote this!
Aug
10
comment Fill gap created by Exclusions
You're plotting two different functions and each has a reasonable choice of Exclusions independent of the other. Why don't you use to Plot command and combine the results with Show? You might also try the TrackedSymbols -> {t0,s} in your Manipulate command. Finally, with 9 questions now asked, I think it would be reasonable for you to properly format your code - it's just a matter of indenting your code block four spaces.
Aug
10
comment Plotting a parametric function with three input variables
@hieron The With statement is certainly not necessary but makes it super simple to extract individual plots. You can use With[{c=Pi/2},___], for example to look at that particular image. It arose because I did exactly that when trying to figure out what was going on mathematically. Clearly, this would be particularly nice, if there were more cs in the expression.
Aug
9
comment Can $\it{every}$ usage of While be changed into NestWhile?
In my experience, While is very easy to compile, but NestWhile is not.
Aug
7
comment How can I plot the complex graph of $x^x$ in Mathematica?
@Mr.Wizard Thanks!
Aug
6
comment Specifying Range of RSolve
@QuinnCulver Well, it oughtta get the whole damn thing correct, no? If you're going to use a black box, you'd better check your results and, in this case, they don't check out.
Aug
6
comment Specifying Range of RSolve
@QuinnCulver I tried FindSequenceFunction without success but I really see no reason to think that such an expression exists. I can tell you that the sequence converges monotonically down to $3/4$ with approximate multiplier $1/2$ but not much more.
Aug
6
comment Specifying Range of RSolve
@QuinnCulver Not definitively, but it hardly seems shocking, given the branch cuts that are bound to arise with a quadratic recurrence.
Aug
6
comment Using Solve but getting no output
You should be aware that there are many apparently simple equations with solutions that are not expressible in closed form. One such example is Solve[Cos[x]==x,x]. On the other hand, Solve[Cos[x]==x,x,Reals] produces a useful result. Thus, it's nice to now if your variables and parameters satisfy any useful assumptions. Lacking a symbolic expression, perhaps you'd be happy with a function that produces an estimate for s as a function of the input parameters?
Aug
6
comment How to generate specific function using BSpline command/
@chris I think it might be reasonable to implement PiecewiseExpand for InterpolatingFunctions but I don't see any reason to expect it. Interpolation is much older (V2) and lives in the numerical domain. PiecewiseExpand (V5) is primarily algebraic and is simply meant to simplify nested Piecewise expressions. How might PiecewiseExpand work with an InterpolatingFunction generated by NDSolve and containing zillions of sub-intervals?