# All Questions

35 views

### Labeling the vertices of a graph

I would like to label the vertices of a complete graph alphabetically. But I am stuck because I don't know how to associate only one vertex to a letter. ...
24 views

### Nestlist inside Compile

My question is a continuation of question1 and question2, but I think it may be considered as a self-contained one. I am interested to make the following code faster ...
153 views

### Concise alternative to First@First@Position[…, 1,Heads->False]

Is there a more compact way to accomplish this: lst = {0,0,7}; idx = Position[lst, Except[0], 1, Heads -> False] // First // First (* => 3 *) For ...
139 views

188 views

### Partial differential equation, Finite difference Method

For my research project I am trying to solve following partial differential equation in Mathematica (V[r]*ψ[u, v])/4 + Derivative[1, 1][ψ][u, v] == 0 with ...
47 views

57 views

### Numerical Integration w/parameter [on hold]

I was hoping you guys could help me with some numerical integration. I am trying to carry out the following integral and plot it for a range of 'Y' (capital Y, not little y) values: Values I'm ...
31 views

### Nested NIntegrate with variables in limits

How do I solve nummerically something like this and plot a function for it? $f(x)=\int \exp[\int ^{x+y} _{x-y} \exp(z) dz]dy$ This example has analytical solution, however I would like to know how ...
187 views

### How to terminate early a functional computation

Problem description: Given a list $A=\{1,2,0,7,0,-1,2,6,\ldots\}$ and a list $B=\{0,7,0\}$ write a program that determines whether $B$ appears in $A$ or not. Note: the order of $B$'s items does ...
137 views

### Give a common denominator to a whole list

If I have a list, say ...
45 views

### Where is ExampleData stored on my system

When I enter: Import["ExampleData/numberdata.csv"] Where does Mathematica go on my system to find the file numberdata.csv? Or, what Mathematica command will ...
135 views

### Adding two random variables (probability distributions)

Let's consider two balanced dice. I am modelling each of them using ...
425 views

### A quicker than outer

I need to get a matrix $\{a(x_i-x_j)\}$, where $x_i$ form a partition of an interval, $a(x)$ is a given function. I use ...