## Top new questions this week:

### Adding Trace produces error messages

This is very strange. As I was trying to debug this problem, I noticed when I add Trace then I get lots of internal errors generated. This also happens the first time after the kernel is started. ...

error-tracking

### Pattern matching with Complex. Feature or a bug?

I have run into some strange behavior while doing some pattern matching. First, this works as expected: Exp[2 I u x] /. Exp[Complex[0, a_] u x] :> a (* 2 *) However, when I replace x with ...

bugs pattern-matching complex

### Can Mathematica be used for developing "normal" stand-alone softwares?

Can Mathematica be used for developing "normal" stand-alone softwares? I understand "normal" is not a very good qualifier. What I mean by it is softwares that people usually develop in Java and C++ ...

application

### Computer Modern Roman in Mathematica 8.0

What should be command for font style "Computer Modern Roman" in Mathematica, as the default font style of LaTeX is "Computer Modern Roman". Tried this Plot[z^2, {z, 0, 1}, PlotLabel -> ...

fonts

### Computing launch parameters for hitting a point in 3D with projectile under influence of wind

The end goal of this problem is to compute functions which describe the launch parameters which are needed to hit a specified goal in 3D in the presence of wind disturbances. This is as far I have ...

plotting fitting modeling

### Inconsistent behavior of undocumented Encode->Import->StringToStream->Get on password-locked stream

Let's save a definition. Encode it with password/key and Get it again. We will not use Get directly on directory but with combination of Get+StringToStream+Import. Get works with streams since V9.0 ...

export import packages security

### Ghost trails with Animate?

What are some approaches to integrate Ghost trails methods with Animate, which otherwise seem more suited for exporting individual frames? For example, given this rootPlot function, how can trails ...

graphics animation

## Greatest hits from previous weeks:

### Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...

reference-request programming

### Understanding differences between Maple and Mathematica in examples picked by Maplesoft

I am reading the document "How Maple Compares to Mathematica" found at http://www.maplesoft.com/products/maple/compare/HowMapleComparestoMathematica.pdf. On page 15 there is an example where ...

speed accuracy maple

### Evaluating documentation example crashes the kernel

Save your work before attempting: Could someone confirm what looks like a bug (definitely occurs in v10 and OSX 10.8.5): In the documentation for Background and under Neat Examples, the following ...

plotting documentation

### FindMinimum's WorkingPrecision behaviour

I discovered the following behaviour when using FindMinimum for constrained optimization: Clear@f f[x_?NumericQ] := (Print@Precision@x; x^2) FindMinimum[{f[x], x < 1}, {x, 1}, WorkingPrecision ...

mathematical-optimization precision
I'm facing the following problem: I have a cubic domain of side $L=2\pi$; this domain is divided in a cubic grid, each side is divided in $N$ points, where $N$ is an even integer number. the ...