# All Questions

0answers
34 views

### integral-equation of Wentzel–Kramers–Brillouin [on hold]

I need a code that can help me to solve the WKB equation for the eigenenergies for any given potential
1answer
35 views

### Extract list of values associated with specific header within an expression

I would like to have a function that can extract from an expression a list of values that are within the brackets of a certain header at any level: ...
0answers
20 views

### How to Expand an expression joining variables [on hold]

How can I obtain, starting with ax (a - x)^2, the expression ax^3-2a^2x^2+a^3x? If I try ...
0answers
33 views

### Calculating mixed strategy equilibrium in battle of sexes [on hold]

How to calculate the mixed strategy unique equilibrium in the following modified battle of sexes game: Player 2 A B ...
1answer
72 views

### Why am I getting different answers for integral depending on method?

I'm trying to carry out an integral and I'm finding different answers depending on which method I choose to integrate with. I assume this has something to do with divergent pieces but I don't ...
0answers
128 views

### Visualising a 1-(50,15,15) design

The problem I have is the visualisation of a $1-(50,15,15)$ design. That is a set of $50$ points and $50$ blocks (lines), so that each point is on $15$ lines, and each line contains $15$ points. My ...
2answers
57 views

### Mean[] of symbilic list returns numbers [on hold]

I wrote simple moving weighted average function and tested it over the symbolic list. It supposed to return moving triad average - 1/5{a+b+c}, 1/5{b+c+d}, etc. It returns first 6 triads correctly and ...
2answers
78 views

### Maximizing a function defined using NIntegrate [duplicate]

I have two functions fn[x,y,z] which is in integral form and I have another function gn[x,y] which is also in integral form ...
1answer
70 views

### How to make a cell highlight on mouse down?

When a cell has WholeCellGroupOpener set to True, it becomes a clickable button that toggles its cell group open and closed. How can I make the cell change color ...
2answers
372 views

2answers
128 views

### Finding the FWHM of a NonlinearModelFit gaussian [duplicate]

I have a NonlinearModelFit in a very large program, f1 = NonlinearModelFit[d1, a Exp[-(b (x - c1))^2] + yoff, {a, b}, x] Which is used in my program to produce ...
1answer
764 views

### NDSolve::ndcf: Repeated convergence test failure. How to solve?

I am trying to simulate a system of $n$ pendulums with some friction in Mathematica 9. This is the code I am using: ...
8answers
386 views

### Splitting a list into increasing sublists

I have a list of numbers (say, for example, {1,2,3,4,3,2,1,2,3,4,3,2}), and I want to split it into sublists so that each sublist is the (smallest) sublist whose ...
3answers
178 views

### Simple exercise using the function Cases

I'm having some trouble in the following exercise: Find which elements of the list are prime numbers or divisible by 3. list = Table[i^2 - 6 i - 1, {i, 0, 15}] ...
0answers
35 views

### Numerically finding a single root of a polynomial system

I may be off base, but from the documentation, it sounds like NSolve is specifically tailored to finding (all) roots of a polynomial system. On the other hand, ...
0answers
44 views

### Solve ODE with constraints [closed]

I'm trying to add constraints to my system of ODE, given by simple inequality: E1 > 7 and E2 > 7. ...
1answer
117 views

### Run mathematica scripts without initializing the kernel every time

There are two duplicate's of this question that seem to only work on linux/osx currently. So how can I viably run mathematica scripts without spawning a new session each time from command prompt? I ...
1answer
110 views

### Wrap custom control inside Manipulate or DynamicModule

[Apologies if this is a duplicate: I have looked at quite a few related questions but have not seen this issue dealt with] I have built a custom control, using the following method: ...
3answers
109 views

### Combination of interpolations doesn't work?

I have tables of function values f[i_] and g[i_] and I need to plot various combinations of the function and its derivatives ...

15 30 50 per page