0
votes
0answers
1 view
4
votes
2answers
85 views

Does Mathematica take advantage of hyper-threading (if it is available)?

I do not know much about computer architecture, but some Intel processors have hyper-threading technology, which can apparently improve parallelization for applications that take advantage of it. In ...
0
votes
1answer
16 views
1
vote
0answers
5 views

Using an arbitrary area bounded by lines for PDEs?

I have a set of lines I pulled from an image that make a closed loop, pretend it's a unit square for reference. Is there a way to use such an arbitrary region for solving PDEs, and is there a way to ...
4
votes
2answers
84 views

Speed up derivative evaluation

I'm trying to calculate the normal vectors and the tangent vectors at the discrete points of a suface. For example: ...
0
votes
0answers
4 views

differntial geometry [migrated]

i m facing much difficulty in understanding behaviour of acceleration vector relating to unit normal vector &unit tangent vector . However,study reveals that tangent vector is perpendiular to ...
2
votes
2answers
113 views

Recursive Euclidean algorithm in Mathematica

Can anyone explain to me how do I use a recursion, if I don't know the limit? For example, I need the remainder $r$ of the Euclidean algorithm for $\gcd(a,b)$ which equals $0$. I figured out that the ...
14
votes
2answers
269 views

SaveDefinitions->True changes the displayed image

Bug introduced in 9.0.1 or earlier and persisting through 10.1.0 or later I have a Manipulate[ ] that displays an image with a superimposed ...
0
votes
1answer
50 views

Plotting ListLinePlots together creating a 3D view

I have a *.xlsx file containing four columns, each pair representing an x and y value, so ...
-1
votes
1answer
23 views

Position vs Part

What's the difference between Part and Position? How can I "move" from the form used by Part to that of Position (and vicerversa?) Thanks!
1
vote
0answers
10 views

How to send an “end-of-file” marker to a process object's standard input?

On a Unix-like system I can do this: $ cat some text some text ^D The cat utility will echo back everything I send to it ...
3
votes
1answer
59 views

Solving a chemical system using NDSolve

I have to solve a set of coupled differential equations and am not sure how to proceed. It is a model of a chemical process where I'm interested to find the species concentration as $r$ varies. For a ...
5
votes
1answer
122 views

Does RunProcess work on Chinese Windows?

I am asking for feedback from people running Mathematica 10.0.x or 10.1.0 on Chinese versions of Windows. Does the following command work or does it give $Failed? ...
0
votes
0answers
47 views

How to call rsync from Mathematica?

I've tried following a few answers on how to control processes from Mathematica, but none of them are working for me. I am using rsync to download some files with flags for resumeability and ...
0
votes
2answers
28 views

Plotting a Forced Vibration Differential Equation

I'm attempting to plot a differential equation solution but mathematica is giving me trouble. The plot is showing up blank. Here is what I have. ...
1
vote
2answers
19 views

Import nested JSON file [duplicate]

For a project where I receive JSON messages from a web server I was trying to convert these messages into a format that can be used easily within Mathematica. Because JSON also consists of key-value ...
6
votes
0answers
85 views
1
vote
1answer
95 views

Sow only if different from zero

I am trying to collect elements with Reap and Sow, where I am interested only in non-zero elements, that is I am trying something like that ...
1
vote
2answers
219 views

How to numerically integrate this integral?

I want to integrate a function (spherical coordinates): $$\int _0^{2 \pi }\int _0^{\pi }\frac{r^2 \sin (\theta ) e^{-\lambda \sqrt{\rho ^2+r^2-2 \rho r \cos (\theta )}-2 r}}{\pi \epsilon ...
0
votes
0answers
64 views

Gaussian Elimination with full pivoting [on hold]

I have some problems with an implementation of the Gaussian elimination with full pivoting. It seems to me that I've programmed it correctly, but nevertheless it throws errors and I can't find my ...
5
votes
2answers
156 views

Solve wave equation using DSolve?

The wave equation with pined-pined boundary has well-known solutions, but directly input the equation into Mathematica does not return them. $$EI\cfrac{\partial^4 w}{\partial x^4} + ...
6
votes
1answer
234 views

Young Tableaux Miscellanea

I have a problem which is mostly neatly described by using Young Tableaux. Mathematica seems to have these Tableaux built in, except that the Tableaux function is ...
0
votes
0answers
32 views

How can I monitor the progress of a Plot?

This answer is not useful in my case: How to monitor the progress of a plot I am using ...
20
votes
5answers
3k views

Plotting several functions

I'd like to plot a function of one real and one integer variable, but I don't want them all shown in the same 2-D plot - I'd like to see them as separate curves so I can see both "axes", more like how ...
1
vote
1answer
61 views

Integral not being evaluated

I'm trying to do the following integral, but Mathematica won't evaluate it - it just spits out the actual symbolic integral. $$\frac{e^{-\frac{(k-d)^2}{2 a^2}} \left | \frac{-d+\frac{c ...
2
votes
2answers
77 views

How do I partition a matrix?

I have a data file with fields x y z. When I import it to "data", I get a matrix if the form: ...
16
votes
5answers
386 views

Mismatch between numerical and analytic evaluation of an integral

I evaluated the following integral $$\int_0^1 \sqrt{r} \left | \cos \left(\left(k+\frac{1}{2}\right) \pi r\right)\right | dr$$ ...
4
votes
0answers
54 views

Can Mathematica poll the dimensions of the individual monitors of its host computer?

The command SystemInformation["Devices", "ScreenInformation"] returns the screen area in the monitors connected to its host computer: ...
2
votes
1answer
45 views

Continuous background color of adjacent cells

I'm trying to make continuous blocks of cells so that their background colors are the same, but without breaks of white space between them. E.g. After some recent digging, I found the option "Show ...
-2
votes
1answer
96 views

Mathematica's steps towards the result of a definite integral

I am interested in this definite integral: $$ \eqalign{\int_0^\infty {x^2 \log(1-e^{-x})}\; dx\cr } $$ That is: ...
2
votes
1answer
66 views

Axis alignment identical to matlab plots

Mathematica uses in my opinion a weird concept of camera alignment. I would like to align the axes in Mathematica in the same way how Matlab does. For example, in the following picture you see a ...
9
votes
3answers
197 views

Asynchronous evaluation on EventHandler

How can I make this progress bar appears when I press Enter? The Button Evaluate works just fine, but when Enter is pressed it jumps the progress bar. It would be ...
1
vote
1answer
45 views

Saving an XMLObject imported inside a notebook

In a notebook, I import an XMLObject from a html file with this code line : XMLData = Import["Z:/XXX/XXX/XXX.mw", "XML"]; In order to have all the data in the ...
0
votes
0answers
85 views

NDSolve and assuming

I am trying to solve the system of PDE with NDSolve and I got an error message like this NDSolve::deqn: "Equation or list of equations expected instead of ...
6
votes
1answer
314 views

Speeding up the non-negativity algorithm for multilinear function with interval probabilities?

The algorithm is a branch-and-bound algorithm that calculates the non-negativity of a multilinear function with interval probabilities. The lines 9-11 has an optimization that is explained on the ...
19
votes
1answer
498 views
+50

Import an SPSS, SAS, or STATA file into Mathematica

I would like to import the World Value Survey data file into Mathematica, but it's only given in spss, sas or stata formats, which are statistical analysis softwares format I think. I can't get to ...
0
votes
0answers
50 views

Solving a system of equations using NSolve

I am trying to solve the following system of equations using NSolve, but am running into some problems. Any suggestions ? CASE1 - Facing Problem in Solving the ...
0
votes
1answer
38 views

using FindRoot to solve 3 simultaneous equations [on hold]

I'm trying to solve 3 simultaneous equations derived from an electrical circuit of a common source amplifier. ...
29
votes
1answer
706 views

Proving the hairy ball theorem using xAct

I would like to formally prove the hairy ball theorem in Mathematica, initially just for $S^2$, and then see about generalizing. An approach I thought about to use the xAct package to define $S^2$ ...
1
vote
0answers
41 views

Solve PDE with DiracDelta function

This question is related to Solve wave equation using DSolve?. I think it is more appropriate to open another question on this topic. In the question, the compatibility conditions can be introduce ...
0
votes
0answers
22 views

How to change the atom size of LatticeData

Using the "Image" property of LatticeData, I can generate representation of lattice structures (like the first basic example did). But it seems that the atom size is a constant, can I enlarge it? ...
1
vote
0answers
37 views
2
votes
1answer
133 views

How to further accelerate arithmetic with Fermat Pseudoprime and Fibonacci number

I've been working on this all night, and I have made this go pretty fast, compared to my first iteration of the program, but now I'm out of ideas. I'm trying to write a program to test (by good ...
2
votes
3answers
85 views

Problem with the output of a function I program

(This is the function that I programmed) Zm2[Z_, nk_] := (zm2 = 0; For[i = 0, i < Length[Z], i++, zm2 += nk[[i]] *Z[[i]]* Z[[i]];]; Return[zm2];); ...
0
votes
1answer
56 views

A question about calculus and Programming

I am a very new user and I would like to know how to calculate the following operations in Mathematica. Honestly this is not a homework. I am an french architect and I would like to be back in Math ...
18
votes
1answer
5k views

How to use $\LaTeX$ for typesetting labels and titles in Mathematica

I need to typeset large number of equations to be used for PlotLabel and Titles and such. These have to look nice. Hence I use ...

15 30 50 per page