23,692 reputation
42672
bio website none
location Ann Arbor, MI
age 77
visits member for 2 years, 5 months
seen 1 hour ago

I am a retired software developer. I retired at the end of 2003 and since then my computer programming activities have been for recreational purposes. My main reason for joining StackExchange is to participate in Mathematica.SE. I enjoy answering question when I can, but I also enjoy working at making the site a better place to visit.

I started using Mathematica in 1997 (Ver. 3). I am currently using Ver. 10.0.2. Although I have used Mathematica for all kinds of stuff, I use it mostly to pursue my long standing interest in Euclidean geometry, both in the classical Greek synthetic form and in the more modern analytical form.


16h
comment How can I translate ExpIntegralEi (Mathematica function) in Matlab?
I'm voting to close this question as off-topic because question about implementing algorithms in matlab do not belong on this site
1d
comment Defining a function that resembles another function
Is this question about Mathematica or about mathematics?
1d
comment Why can't I change the style of a cell repeatedly?
@sacratus. I think it would be good if you were to post your comment as an answer. I will certainly up-vote if you do. I would be interested if would give details of contents of the "attached notebook" referenced in tech support reply.
2d
comment Difficulty with Manipulate that has same variables as other code lines in a notebook
@David. Sorry, I forgot to localize the variable r. I have edited my answer to fix the omission by adding the control definition {r, None}
2d
comment FilePrint doesn't print file when running on Wolfram Programming Cloud
Your code appears to have a missing semicolon (;) between the expression Do[ ... {i, 0, sy}] and the expression WriteString[str, "\n"]. That's bound to be causing trouble although I don't fixing it will solve your problem.
2d
comment Why won't Select work on my Dynamic values?
@raxacoricofallapatorius. It can be difficult. I always start by assuming that a control variable explicitly defined in a manipulate will not need to wrapped in Dynamic. I only add Dynamic wrappers when my assumption proves to be false.
2d
comment Save figure using default stylesheet?
Can you give us an idea of what you would consider better? Without some idea of what constitutes "better", your question is too broad IMO.
2d
comment Function with variable arguments
You can also define a default value for c. For example, f[a_, b_, c_:3] := {a, b, c}. Then f[1, 2, 42] gives {1, 2, 42} and f[1, 2] gives {1, 2, 3}.
2d
comment Save figure using default stylesheet?
How about temporarily changing your notebook's style to Default, doing the export, and changing it back to your original style?
Mar
29
comment Clicking on “Show all results” in a W|A pod hangs Mathematica
I can not reproduce your problem on my system -- V10.0.2 running under OS X 10.6.8. You might try ==Forest Gump if you want a fuller answer from W|A.
Mar
28
comment Get function creating variables inside
I'm voting to close this question as off-topic because it is too localized; i.e, it applies only to the local situation and needs of its poster and answers will not benefit others.
Mar
27
comment NotebookWrite in EvaluationBox forces Input CellStyle
The documentation for EvaluationBox is very poor and looks to be hastily written. I think you have a good case for complaining to WRI about the documentation.
Mar
27
comment NotebookWrite in EvaluationBox forces Input CellStyle
It looks to me that you have missed that any use of EvaluationBox has the side effect of deleting the output cell containing the button and then creating a new cell in your notebook.
Mar
27
comment NotebookWrite in EvaluationBox forces Input CellStyle
I don't see how this can be fixed by a work around. EvaluationBox is going to create a cell no matter what, and you don't want a cell. If you did, sacratus' answer would serve you. But because you want a box structure to insert into a possibly much larger expression, I think EvaluationBox is simply inappropriate for the purpose you have in mind. Therefore, I would not call what you have encountered a bug.
Mar
27
comment Ordered associations
@denfromufa. I can't guarantee any behavior, but all the ways I know of that can delete a pair preserve the order. Obviously some operations, such as Sort, KeySort, etc., don't preserve order because their purpose is to change it. I would recommend that you just try any operation you are suspicious of and see what happens. Mathematica is so interactive that is trivial to make such experiments.
Mar
27
comment NotebookWrite in EvaluationBox forces Input CellStyle
Kuba, I have edited "walkaround" in your posts to "work around" several times in the past, but I think you should make the edit this time to help you learn the correct English idiom.
Mar
27
comment How can I simplify a triple integral with exponentials?
You say you made the assumption that p > 0 && q > 0, but such an assumption doesn't appear in your code.
Mar
27
comment If the earth's rotational speed increased by 2% each day starting today…what would be the difference in age 20 years from now?
@2012rcampion. No, it's more a physics problem. The answer would be no one would of any age because nobody would survive such a change of rotational speed. I suspect the planet itself would disintegrate.
Mar
26
comment How to change plot unit or scale the number of axis?
@ChadMeng. Remove the // N
Mar
26
comment How to iterate through a list of rules?
Your question implies that some or all the keys and values in your list are strings, but in your post they all look like symbols or rational numbers. Please reformat your example to make the strings explicit.