# Tagged Questions

The tag has no wiki summary.

39 views

### cteq5 mathematica [on hold]

Trying to compute the total cross-section for gg -> ttbar via cteq5 with Mathematica. So I know to use set 3, parton 0, but for q, do I use 7TeV for both pdf's, which would correspond to a total cms ...
68 views

### Confused by behavior of ListLogPlot in Mathematica 10

I have a notebook I originally created in Mathematica 8, where the following (simplified) code worked fine. ...
67 views

### Wolfram Mathematica: Find constants in a function?

Let's say, I have a function with a constant, e.g. y(x)=x+c, and a condition y(0) = 5. I want to type in something like Solve[{y[x]=x+c, y[0] =5}, {c}] and get the value of a constant. Is there a way ...
371 views

### How do I interrupt (abort) a computation in Mathematica?

Sometimes I (inadvertently or naively) write a code that would take Mathematica a long time to compute on my laptop or any computer for that matter. For example: Table[Length[Select[Permutations[n], ...
107 views

### Is there a way to specify custom domains in mathematica?

I want to solve for all solutions to the system of equations $a_1 a_2 a_3 b_4 + a_1 a_2 b_3 + a_1 b_2 + b_1 = 0$ and $a_1 a_2 a_3 a_4 = 1$ where the $a_i$'s and $b_i$'s take on values from $\{-1,1\}$. ...
60 views

### Mathematica: Extract the piece that contains x=0 from within a piecewise function

In mathematica, I have a piecewise function similar to: Piecewise[{ {x^2 + 2*x - 4, 0 <= x <= 1/4}, {0, true} }] I don't ...
22 views

### Subscripts and Simple Forumlas giving unexpected answer [duplicate]

I trying to do a tensor problem but for simplification I'll only ask for assistance with one simple part. I set my variables using subscripts like so.. $Subscript[y, 1] = - .23556;$ But when I try ...
53 views

### Combine two functions in mathematica to get one image with two elements

I am trying combine this two functions into one piece in grid. ...
86 views

### Is there a package or canonical way for writing test harnesses in Mathematica?

I've written a complicated function foo.1 I'd now like to simplify this function's code, and later enhance it with more features. With each change, however, I'd ...
25 views

### Density matrix - Mathematica [duplicate]

I would to write a density matrix "matr" related to a quantum system in a mixed state. "Ham" is the Hamiltonian of N-spin system. The code I wrote is: ...
120 views

### Mathematica plotting help (plotting a complex fourier series). [duplicate]

How would I plot the following in Mathematica? $\displaystyle\sum_{n=2}^{10} \bigg(\dfrac {4ine^{inx}(-1)^n}{(n^2 - 1)^2} - \dfrac{4in e^{-inx}(-1)^n}{(n^2 - 1)^2} \bigg)$ Thanks.
132 views

### What is the Missing code in this Wolfram Blog article?

Here's a very cool Wolfram Blog Article with incomplete code, that can apply the Droste Effect to an image is various interesting ways. Copying this code, in the journal doesn't provide a working ...
209 views

### Making code version aware

Mathics, a free Mathematica-compatible project has been recently launched. It provides a subset of the functions and capabilities of Mathematica at a slower pace. This opens us the tantalizing ...
29 views

### Differential equation [duplicate]

Why mathematica not solve this equation: In: DSolve[{z''[t]==(z'[t])^2+(z[t])^2-Sin[t]-1, z[0]=0,z[Pi/2]=1},z[t],t] Out: DSolve[{z''[t]==(z'[t])^2+(z[t])^2-Sin[t]-1, z[0]=0,z[Pi/2]=1},z[t],t] ...
41 views

### Is there a way to add arrows along a parametric curve inside a manipulate function (Mathematica)? [duplicate]

I cannot find a way to add arrows along a parametric curve that I used NDSolve to get. I have written everything inside Manipulate. ...
104 views

### rule transformations for compositions of tensor products

The tensor product satisfies far commutativity: $(f \circ g) \otimes (h \circ k) =(f \otimes h) \circ (g \otimes k)$. I have some replacement rules I'd like to apply to an expression containing ...
81 views

...
51 views

### Mathematica: How to apply a function to a list of tuples [duplicate]

trialList = {{0, 24.701}, {1, 24.69}, {2, 24.733}}; f[x_] = x + 1 I would like to apply the function f(x) to only the second element of each tuple. How is this ...
491 views

### How do I change the way Mathematica pronounces English words (e.g. “futile” is not pronounced correctly)?

I am absolutely desperate. I cannot get my Borg to pronounce "futile" correctly. Speak["Resistance is futile."] Leo pronounces "futile" as expected and there is ...