# All Questions

3 views

### Kernel quits without error in NDSolveValue

I am using the latest 10.1. The following single line command makes the kernel quit without error message (just a beep): NDSolveValue[{- !(*SuperscriptBox[([CapitalPhi]), TagBox[ RowBox[{"(", ...
8 views

### First Order Conditions

I am new to Mathematica so I am not sure if this is correct. I have setup up a Lagrangian and I am trying to get the FOCs of this problem. However, it does not seem to work. Any help would be much ...
14 views

### Forcing Exact Outputs for Integrate

I'm trying to compute the following triple integral: ...
14 views

### MoonPosition and TimeZone support

With this question, I noticed some some weird results of MoonPosition. Consider the following code: ...
11 views

### Find first n roots of a function

Is there a straightforward way to find the first $n$ roots of a function? I have found various ways of finding roots in an interval, but none that would keep looking for roots until they find a ...
420 views

### What is the real default CellEvaluationFunction?

The default CellEvaluationFunction is Identity but one can quickly see that this is handled specially as an equivalent function, ...
33 views

### Wrong autogenerated package from notebook containing #key and Part as subscript

Mathematica v10.1.0, under Windows 8.1 x64 Mathematica v10.0.2, under Windows 1) Define a function in an initialization cell: ...
30 views

### Why Mathematica doesn't solve this equation?

I look for solve my geometry problem. To do this, I need get formula for "d" in my equation: ...
151 views

### No analogue for Maple's dchange?

Maple owns an interesting function called dchange which can change the variables of differential equations, but there seems to be no such function in Mathematica. ...
76 views

### Finding a formula for a 3D shape and colouring it

I created a wall with line command ...
18 views

### Change numerical plot labels on one axis to strings

This question likely has a straightforward answer. Suppose I have a plot something like this: ...
22 views

### using output in pure function

Suppose i have an integral which has a close form, $\int_{a}^{b} f(x) dx=F(a,b)$ I want to use output function $F$ as a pure function, like F[a,#]& so i try ...
98 views

### Control which frontend session/kernel the Workbench gets attached to

(I am new to Workbench) I have 2 or 3 Mathematica frontend sessions open with a few of them running some long-running codes. When I try to open/edit a code in Workbench, I see that it sometimes it ...
26 views

### Generating by plots by rerunning code

I am new to Mathematica. I created a code where I can evaluate a parameter (denoted by PoA) for a random instance of a directed acyclic graph. The code is below. ...
25 views

39 views

### What does it mean when FindInstance returns unevaluated?

According to the documentation, FindInstance[] return the empty set when it does not find a solution and one of the examples claims that this is proof that no solution exists. So if FindInstance[] ...
105 views

### how to create Panel for Plot?

Can You advice me how to put the whole thing below into an interactive Panel, so I can values of parameters dynamically - type other values (alpha, beta, x0, y0, R, tmax) and plot updates ...
205 views

### Getting EPS imports to respect the original fill rule

One major problem in my attempt to answer to the CountryData flags question is that the way Mathematica handles filled curves differs from the way SVG and EPS style editors do. The latter two have the ...
2k views

### How to do http POST in Mathematica?

The Import command lets you do a HTTP GET from a URL, like this Import @ "http://merkosoncampus.com/wp-content/uploads/2011/05/higgs-boson.jpg" This sends an ...
137 views

### Nearest neighbor distribution

I need to construct nearest neighbor distribution for a given finite set of real numbers. I have no clue how this can be realized. Any suggestion would be very much appreciated.
50 views

### Using Wolfram Library Reference in Excel VBA

Long time ago I did this question to MathGroup, but without success. In Excel VBA, in Tool/References, there is a option called "Wolfram Mathematica Control 8.0 Type Library" I belive that ...
2k views

### An efficient circular arc primitive for Graphics3D

As many people have noted, the 2D graphics primitive Circle doesn't work in a Graphics3D environment. Several solutions to this ...
237 views

### ArrayPlot copied to PDF shows blurred mesh

Certain (but not all) images displayed in ArrayPlot, and then copied to PDF, show what appear to be fuzzy mesh lines in white areas. An example is shown below. I ...
484 views

### Next highly composite number?

R language has this function 'nextn' (link) which computes the next highly composite number greater than a given one, which is used to find the optimal padding size for the subsequent FFT operation. ...
152 views

### How to check if all the members of list lies in specific range

I have a list the form: ...
97 views

### How to access an already opened Excel file in Mathematica?

This post 4594 shows how to open a existent Excel file with Mathematica. And this 6686886 shows how to do what I need, but in C#. This 12282310 is another related one. How can I connect to a ...
48 views

### How to make work Plus function? [duplicate]

I have a little problem. I have k = 1.56343*10^9; r = 9.10492*10^18. And I should receive a (2*r*r-k*k)/2*r*r, it equals to ...
35 views

### Nest-Recursion leads to overflow - Numerical calculation of Lyapunov exponents [on hold]

I calculate the Lyapunov exponents of several dynamical systems and want to compare the results with other algorithms. One of the most famous puplications is the work of Marco Sandri, see this paper. ...
50 views

### How speed the calculatation of the inverse of an upper triangular matrix

I have found the inverse of an upper triangular matrix by substitution using the "for" command, but it works very slowly when the upper triangular matrix is big. Example: If 686 is matrix's ...
572 views

### Problems with “Test Connectivity” and the Pacletserver

I know there has been a similar questions to this already but the solution did not work for me so here again: I have internet connection and I can execute such commands like: ...
33 views

### Faster trimming of leading/trailing zeroes in rectangular array

Given a (large) rectangular array, e.g. (small for example case): ...