# All Questions

64,138 questions
Filter by
Sorted by
Tagged with
87 views

### How to use a function as a value in an association? [on hold]

I just started learning Mathematica. I was wondering if it is possible to use a function as an value in an association. Ideally, it would be something like this: ...
27 views

### Independent scaling of arrowheads and vectors in vector plot

I'd like to scale with independent parameters the vectors and the corresponding arrowheads in a vector plot. The basic code is as follows: ...
80 views

### Geodesics in 2+1 Schwarzschild metric

Would appreciate if someone could explain the query that, I am trying to understand the code for timelike geodesic in 2+1 Schwarzschild $(\theta=\frac{\pi}{2})$ where we have taken $M=1$. From this ...
54 views

### TimeSeriesAggregate unwanted behavior

Let's take the lst = {{"2019-09-12 00:01:23",1}, {"2019-09-12 00:01:23", 3}, {"2019-09-12 00:01:24",10}}; Assume I want to count events within 1 second. One ...
65 views

### JavaGraphics` and CreateDialog don't work with ListPlot in Mathematica 11.3/12

Bug introduced in 11.2 and persists through 12.0, case 4331202 I'm trying to see some plots based on data from a remote cluster as it runs various Mathematica 11.3/12 scripts, so I want to use the ...
27 views

### Need help with plotting a probability distribution

I looked through the Mathematica directory and could not find a solution that is right for me. I already solved the mathematics behind this problem, I just need to visualize it in a plot. I am ...
37 views

### How to get ListContourPlot to label all of the contours?

I've been trying to get ListContourPlot to work for me on a large set of data, and I feel like I'm failing at the most basic parts of formatting. I've tried piecing together bits of code from here and ...
123 views

### The most bizarre kernel crash ever. Kernel crash in Integrate under simple different setups. Unable to find cause

Reported to WRI. CASE:4330461 V 12 on windows 10 64 bit. Note: This problem do not show up in V 11.3. Only in V12. For the last 2 hrs, I've been trying to zoom into why V12 kernel crash when ...
25 views

42 views

### What is the cycle index polynomial for the trivial group

CycleIndexPolynomial[Cycles[{}], {Subscript[x, 1]}] returns 1. I was expecting ...
403 views

### Slow computation of recursive sequences

I want to investigate the asymptotic behavior of the following recursive system: ...
52 views

### series of function

I need help to get the solution for the following equation, that used in scattering theory, as series-expansion using Mathematica, it means in general case for any value of these variables n,l (the ...
35 views

### Convert string of tuple of numbers to complex number

I am reading complex number from a file which gives me a list like that ...
72 views

### How to make a palette look exactly like a MacOS window?

Is there anyway to style a pallete so that it looks like a native window: ...
20 views

### Error after defining a piecewise function

I have the following code: ...
76 views

### Solving these equations with a constraint

I have been for long time now try to solve this equation q1[t_] = D[x[t], t, t] - 2 (1/y[t]) D[y[t], t] D[x[t], t] With its complex conjugate ...
2k views

### Does Mathematica 11 work with MacOS Catalina 10.15

I just upgraded my macbook to 10.15 and could not open Mathematica 11. I am wondering are there any workarounds to use Mathematica 11 without upgrading to 12? Thank you!
42 views

### Manipulating two parameters of a plot

I am wondering if it is possible to manipulate/animate two (or three) parameters in a plot. I would imagine this would work, but doesn't: ...
673 views

### Mapping string into integers

Suppose I have the following list, l = {{"b", "c", "d"}, {"e", "b"}, {"a", "b", "d", "e"}} and further suppose I have the following association, ...
43 views

### Integrating a function with Max function

I'm trying to evaluate the triple integral $$\int_{0}^{1} \int_{0}^{1-x} \int_{0}^{1-\max(x,y)}1 dzdydx$$ in Mathematica. The code I'm using is simply ...
47 views

### Adding units to frame label

I have this code: ...
116 views

### Simplification of logarithms

From the Wolfram functions web site it is known that $$\log(z_1)+\log(z_2)=\log(z_1z_2),\text{ for z_1+z_2>0}$$ In an answer to this question Alexei Boulbitch wrote a useful function ...
54 views

### Can Mathematica check ansatz for solutions of differential equations?

I'm just a beginner learning Mathematica. I'd like to do something with it, but I don't know if it is possible. Suppose I want to solve a system of differential equations, maybe a nonlinear one, and ...
21 views

### Error message: Could not access the directory

I ran multiple Mathematica files using the the NoteBookOpen/NoteboookEvaluate options. Now once the run is over, I am not able to save the files. I get the error message - "Could not access the ...
66 views

### Reduce memory cost with three matrices multiplication

My program is eating up all my RAM and the operation is related to 3 matrices multiplication, as the code shown below. example code: ...
22 views

### Filling Regions (Blocks) of a Binary Matrix with Different Probabilities

This is an extension of the following question: How to generate binary array whose elements with values 1 are randomly drawn, where the most elegant answer was posted in the comments: ...
82 views

### Need more equations in PDEs by NDSolve? Bug of mma?

I am trying to solve set of pdes as below ...