I'm trying to write a code where each matrix element swaps with a randomly selected neighbor (cardinal directions only) to redistribute the matrix. So far I've been able to replace an element with its ...
Every time I define a new function, I wonder which construct I should use: true functions obtained by using Function, or rule-based syntax. For example, these are ...
v = Subscript[v, 0]*Sin[(Pi*S)/Subscript[S, 0]]; a = dv/ds v; a = D[v, s] returns ...
While playing around with the solutions to this question, I've found some very strange behaviour: ...
How do I render a letter with a single dot above it? I see \[DoubleDot] and \[TripleDot] are readily available, but what about ...
I want to make a list of plots and my functions are named C1, C2... Cn. The command I wish ...
There are other questions on the site that are similar to this one, but the answers provided didn't help me. I want to draw disks of different radii. Each radius is the absolute value of a variable, ...
I would like to express a second derivative with two dots above the variable. You can do this with a first derivative by saying: ...
In an earlier question the brainteasing fourth syntax variant of Flatten was discussed. I see that with ...
I've seen people compare Block with Module and With as scoping constructs, and try to figure ...
Is there a good way to transform syntax from other computer algebra systems or from latex to mathematica syntax?