Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
65 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. ...
1
vote
2answers
65 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 ...
2
votes
2answers
299 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], ...
2
votes
3answers
99 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\}$. ...
3
votes
2answers
56 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 ...
0
votes
0answers
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 ...
0
votes
2answers
51 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. ...
3
votes
0answers
85 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 ...
0
votes
0answers
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: ...
0
votes
3answers
112 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.
1
vote
0answers
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 ...
14
votes
1answer
208 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 ...
0
votes
0answers
28 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] ...
0
votes
0answers
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. ...
3
votes
0answers
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 ...
1
vote
2answers
81 views
0
votes
0answers
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 ...
9
votes
4answers
476 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 ...
14
votes
1answer
225 views

Is there an issue tracker for already reported Mathematica bugs?

Since I'm working at least 50% on Linux which is probably the operating system which gets not so much attention from Wolfram, I find new bugs regularly. What bothers me the most is, that tracking a ...
0
votes
1answer
209 views

TimeConstrained[] not taking full amount of time

I am using Mathematica to evaluate an integral within a given time constraint. Note that I have read in values of 'BigList' or BL from a file. If the file has a ...