All Questions

0
votes
0answers
28 views

Some bold curves in phase portrait

In the phase portrait plot, how can we bold some curves with different colors? I am trying the solve the system of ODES but failed to get produce any output. ...
1
vote
0answers
55 views

Mathematica 12.0.0 crashes on second 'Quit[]'

I am trying to develop a module, and run 'Quit[]' from within a cell in a notebook to clear all symbols before reloading the module that I have modified. The second time I do this after starting ...
1
vote
0answers
21 views

Cell Bracket Clarification

I am running a very simple program that uses NotebookEvaluate to evaluate an open notebook that only has the context of saving and closing, and while it completes that task, the program gets stuck in ...
0
votes
0answers
11 views

Memoization (or otherwise) for a recurrent definition of a (double) sequence of functions

Beside I've found answers to similar questions (e.g. this), I can't adapt them to my case. I am interested in the following sequence of functions $p_{m,n}(t)$, where $m$ and $n$ are integer: $$ \...
0
votes
0answers
23 views

What it called when you create a matrix out of other matrices? [on hold]

What it called when you create a matrix out of other matrices?
0
votes
1answer
19 views

Calculating 3d points for spherical cap [on hold]

Calculating 3d points for spherical cap, given radius for sphere and height of cap (h).
4
votes
1answer
52 views

Antipodal Land Area Calculation

Mathematica 12 does antipodal graphics! See here for my treatment of antipodal New Zealand. Most of the Earth's above-sea-level land will have ocean at its antipode. Is there a way to calculate what ...
0
votes
0answers
12 views

How to show the name and data in a customized map?, with GeoRegionValuePlot

How to show the name of each division and data/values (even customizing the TextStyle for adapt to different sizes) ?. Show all the data, not only when the mouse is over on a region. Or how to add ...
2
votes
0answers
14 views

Interface points of NDEigensystem

When solving an eigenvalue problem with "NDEigensystem", e.g. a 1D Eigenvalue problem with the interval composed of different materials, which should be solved by the pure numerical method such as FEM,...
4
votes
1answer
61 views

How to improve on this Stylesheet Manipulation for Message Styling

The answer by @Kuba changing color of error messages did not seem to work for me (MMA 11.0.1 Win 10 64-bit). I couldn't work out why and implemented something else that does work for me, but it seems ...
3
votes
1answer
17 views

How can I resolve the entire set of style options for a notebook?

Given a NotebookObject I'd like to know what settings all of its Cells have. This could be useful if I needed to distribute my ...
0
votes
2answers
46 views
2
votes
1answer
25 views

User Implemented SHA-1 is failing for strings of length >512 bits

So, earlier, I posed a question regarding getting a user implemented SHA-1 hash function to work correctly. Well, I fixed the problems, cleaned it up a little bit, but now I have the problem for when ...
0
votes
1answer
22 views

Find a reduce math function with increase param value

I have a d value which is a range from 0->5. I want to build a math function with d param so that return a value from 0 to 1. if d increase, function decrease faster. Example f (d = 0) = 1, f (d = 1) =...
2
votes
2answers
126 views

Parallel Computing Problem

The program runs out quickly(30 seconds) if I don't do parallel.But when I replace Table with ParallelTable,the Program will keep running,no output results. My code https://privatebin.net/?...
0
votes
0answers
33 views

Compatibility Nvidia and Mathematica 11.3

I am wondering about the compatibility between Mathematica 11.3 (Windows or Linux) and the Nvidia Quadro P5200 provided in the ThinkPad P72. Can I be sure that Mathematica will be able to detect and ...
2
votes
1answer
37 views

How to convert solution from ParabolicCylinderD to Bessel functions?

I am trying to verify my hand solution to an ODE. The solution I got is in terms of Bessel functions. Maple gives same solution. Mathematica gives the solution in terms of ParabolicCylinderD which I ...
1
vote
1answer
37 views

Individualised test paper generation (and marking)

I would like to use mathematica to create individualised tests that can be printed out for students to complete(handwritten). I would also like to be able to generate individualised printed answers. ...
0
votes
1answer
49 views

Substitution into integral

I have to do a substitution (u = pi/2-x) into an definite integral, which I have defined as f[u]. When I evaluate my code, no ...
0
votes
0answers
42 views

Plotting the plastic zone — Tresca criterion

I've tried to plot the Tresca criterion from maximum shear stress theory. ...
2
votes
0answers
34 views

MemoryAllocationFailure: Finding 90% Confidence ellipses for 2d PDFs with *tiny* densities

I'm trying to find a 90% confidence ellipse for a complicated, and tiny "Gaussian-esque" PDf. These pdf is the result of many, many ugly marginalizations and transformations so I can't quite list the ...
0
votes
1answer
93 views

How can I translate some JavaScript code into Mathematica code? [on hold]

I am a programmer and would like to understand another field outside of the procedural thinking of if-else and for. I would ...
0
votes
1answer
49 views

Curve Fitting using known Points

In this answer, David Stork said that my question could be solved using "simple curve fitting with different numbers of even polynomial rank" in Mathematica. How would I do that (an equation that goes ...
0
votes
1answer
29 views

Coloring edges by weight and changing color but keeping shape for CommunityGraphPlot using PlotTheme->“Marketing”

(Apologies, but I cannot share the data that I am using for these graphs.) I am finding communities in my data set by using CommunityGraphPlot, and the results looks pretty good: ...
2
votes
1answer
65 views

What is the algorithm behind ImageRecolor?

I'm wondering which algorithm is implemented, given that recoloring requires a lot of assumptions to really get the desired color. For example, coloring a dark grayscale image into a light green can ...
2
votes
0answers
35 views

Numerical methods to solve a continuity equation

What numerical methods can be used to study the initial value problem for the continuity equation $$u_t(t,x) + \operatorname{div}(\chi_{\{x_1 \le x_2\}} u(t,x)) = 0, \qquad t \in [0,T], \quad x=(x_1,...
7
votes
0answers
74 views

StarData: proper motion of a star in HelioCoordinates

I am not an astronomer, but am trying to calculate the trajectory of an interstellar space probe, for example to Proxima Centauri. The HelioCoordinates seem appropriate, as typically used within the ...
3
votes
0answers
97 views

Boundary conditions are not satisfied with NDSolve

I want to study the time evolution of a small perturbation around the static solution of the following Wave Equation $$ -\partial_t^2 v(t,r) + \partial_r^2v(t,r) + \frac{2}{r}\partial_r v(t,r) = \...
1
vote
1answer
44 views

How can I have two neural network layers act as the input to one layer?

When using NetGraph[], I am try to specify the connections between 3 layers like so: NetGraph[{...some layers...},{...{2,3}->4}] But I receive the following ...
1
vote
1answer
45 views

Replace second derivative with product rule

Suppose that after some calculations, I find a[x]*D[g[x],x,x]+b[x]*D[h[x],x,x]+c[x]*D[j[x],x] What sort of operations do I need to do in Mathematica such that ...
3
votes
3answers
55 views

Composition of polymorphic functions

Using pattern matching one can easily create polymorphic functions in Mathematica f[{a_, b_}] := {a^2, b^2}; f[c_Integer] := c^4; Now I want to create another ...
0
votes
0answers
44 views

Solve seems to run indefinitely when given my system of nonlinear equations

I am trying to solve a nonlinear system of equations with Solve (and NSolve), but the evaluation get stuck. For a very similar ...
-1
votes
1answer
70 views

ComplexPlot3D and essential singularities [on hold]

I am trying to understand the behavior of the functions $$ f(z) = e^\frac{1}{z} \qquad \text{and} \qquad \frac{1}{f(z)} = \frac{1}{e^\frac{1}{z}} $$ in the neighborhood of $z=0$. From the power ...
1
vote
1answer
51 views

How to make an imported 3D Image look like X-Ray?

I have a human chest data as below:- ...
2
votes
1answer
59 views

Speeding up the calculations by Reduce and NSolve

I have a non-linear system of equations with numeric parameter values as shown below. I first tried FindRoot with given initial values and it did not converge. Then ...
0
votes
1answer
24 views

Extract substring: knowing the starting characters and form

I'm trying to extract a specific part of a long string, where the part of interest starts with "testx" and ends with a number before an underscore follows, so e.g., ...
0
votes
0answers
33 views

Differential equations with recurrence [on hold]

I have a system of differential equations. The equations are coupled in this way: $ \qquad f'_n(x) = A f_{n-1}(x) + B f_{n+1}(x) + C f $ I would like to solve the system. I am a beginner in ...
0
votes
1answer
25 views

Disable Message Windows

Is there any way to disable Mathematica's internal popup windows, such as "Why the beep?" Cannot seem to find any documentation on the ability to turn it off, but need it turned off to write some ...
0
votes
1answer
38 views

How can I plot a function (unidimensional) in a 3D plot

I would like to plot a figure like that using Mathematica. They figure are three plane wave ( cosine or sin ) all share and have the same coordinate origin. As you observe, the waves propagate along ...
7
votes
0answers
122 views

Possible bug in ListDensityPlot in Mathematica12

I'm having some problems with ListDensityPlot in Mathematica 12 on MacOS Mojave. Here is the code: ...
2
votes
1answer
36 views

Function to join variable names

I am trying to define a function that takes any two strings (possibly defined as variables, functions, etc.) and join them in one string. For example, join[f,x] ...
0
votes
1answer
23 views

Expanding integer compositions

Quick version: I would like Mathematica code that, for instance, turns {3,1,2} into {3,3,3,1,2,2}. More formally, given positive integers $c_1, \ldots, c_t$ which sum to $n$, produce the length $n$ ...
2
votes
2answers
33 views

WebExecute timeout

There isn't much tuning freedom available in the WebExecute method. If a page takes too long to load you only see a spinner or a blank for CapturePage. Does someone ...
0
votes
0answers
32 views

Result of BooleanCountingFunction?

Folks, when i use BooleanCountingFunction[{1}, {v1,v2,v3}, "CNF" ] i get a neat output like: ...
1
vote
1answer
22 views

Mapping the FindMinimum function over a matrix

I'm quite new to Mathematica and so still trying to work out how to use some of its syntax and functions. I have a function for the free energy of a generic system with two order parameters. I am then ...
2
votes
1answer
19 views

Using a stylesheet to create a footer that prints the directory name of the current file

I am trying to create footer in a stylesheet that will use the directory name of the current file as the footer. For example, consider the following temp.nb file with stored within the CalculusI ...
0
votes
0answers
16 views

RegisterExternalEvaluator with command line options

I'm trying to register NodeJS as an external evaluator in Mathematica 12.0. This works fine generally speaking. (i.e. following https://reference.wolfram.com/language/workflow/...
2
votes
1answer
34 views

Calculate plausibility in Dempster-Shafer theory

I want to use Mathematica to show which subsets of a power set are required to calculate the plausibility for a given set in a power set. This has lead me to compute a summation with a ...
1
vote
1answer
38 views

Error propagation [duplicate]

I have an expression of a physical observable in which some input parameters are taken. The corresponding errors of these input parameters are given. To get the error of this observable what code I ...
2
votes
0answers
37 views

ListDensityPlot using

I have two data tables with identical parts along the vertical axis. For example: ...

15 30 50 per page