# Tag Info

Accepted

### Improve performance of Linear Optimization

For machine precision numbers, the actual backend of LinearOptimization will be some compiled and heavily optimized library. Such libraries require the problem to ...
Accepted

### How to find a densest configuration of several non-overlapping unit disks?

We try to manually construct the convex hull. ...

Use FindRoot ...

### FindMinimum can't evaluate Nearest numerically

\$Version (* "13.3.1 for Mac OS X ARM (64-bit) (July 24, 2023)" *) Clear["Global`*"] Nearest is already ...
Accepted

### What are some ways to speed up calculations

These can be calculated once: Bs = {0, 0.5, 1, 2, 5, 7}; entable = Table[en[B], {B, Bs}]; Then using the pre-calculated table ...

### How to do edge detection in Mathematica?

ImageLines will be troublesome on this processing especially for the "empty" image where many horizontal lines can be found and ranked nearly equivalently. I suggest attempting to determine ...
Accepted

### Plot several graphs of a function density distribution using Table

DensityPlot has the Attibute "HoldAll": Attributes[DensityPlot] {HoldAll, Protected, ReadProtected} Therefore, if you want to evaluate "ps[B]" ...

### Finding a fixed point of function without a closed-form solution

The function f2 is undefined for a == 0 ...

### I am trying to plot the function below, however, it does not seem to be working

Remove the "underscores" in the plot-command! Try f[x_] = Integrate[(7 + 9 x)/(1 + x^2), x] Plot[f[x],{x,-5,5}]

### Using GraphicsGrid for density plots with color scales

Graphics and Inset give you more control, e.g. ...

### Why can't NSolve find values that FindInstance can?

NSolve work if we use infinite precision number n,x,eps. ...
1 vote

### How to calculate the depth of the lake in mathematica?

We can use a combination of GeoNearest and Entity: I use the center of your map: ...
1 vote

### How to find a densest configuration of several non-overlapping unit disks?

Your method would not work because of: ConvexHullRegion is imprecise (even WorkingPrecision has no effect in ...
1 vote

### How to do edge detection in Mathematica?

Edited to use the new "empty" image I would start by converting images to greyscale: greyimgs = Table[ColorConvert[i, "Grayscale"], {i, imgs}] ...
1 vote

### How to make a density plot for an isotropic function written in cylindrical coordinates?

You just need to define the function you want and use one of the following Mathematica functions. If I understand what you are asking for ...
1 vote

### Using UnrankPermutation with Maximize

This works in 13.3 on Windows 10 with NMaximize instead of Maximize. ...

Only top scored, non community-wiki answers of a minimum length are eligible