# All Questions

83,855 questions
Filter by
Sorted by
Tagged with
143 views

### Getting the "correct" branch of a complex function

This stuff always trips me up. I'm trying to plot a function and I think that the plot looks good in one region and isn't really what I'm expecting in another: The right side of the plot is what I am ...
1 vote
51 views

### Making text larger without changing size of superscript?

I have the following plot: ...
32 views

For FindFit I want to have a norm that just sums up all residuals. For the sum of absolute values there is NormFunction -> (Norm[#, 1] &), but I don't know ...
118 views

### How to integrate this product of Exp[] and Cos[] using Mathematica

I would like to integrate the following product of Exp and Cos： ...
82 views

### How to determine if a group H is a normal subgroup of group G?

A subgroup $H$ of the group $G$ is normal group in $G$ if and only if $\displaystyle ghg^{-1}\in H$ for all $\displaystyle g\in G$ and $\displaystyle h\in H$. How to use MMA to know the group $H$ is a ...
69 views

### How to solve this second-order nonlinear ordinary differential equation using the explicit runge kutta method [closed]

It its my first time using mathematica so I am very unfamiliar with the syntax. I have gathered pieces of codes to solve this system of second order non-linear Diff.Eq. : ...
151 views

### How to speed up the calculation of recurrence formula?

I have a recurrence formula. How to quickly solve P to p? ...
109 views

### Evaluating PlusMinus to 2 decimal answers

How do I evaluate and expand an expression containing PlusMinus such that: N[PlusMinus[1, 1]] returns 2, 0 I'm stuck at ...
68 views

### Replacement, PatternTest, Module related Question

Let's see how MMA handles following type of expression : Replace[L, {pattTest1->rhs1, pattTest2->rhs2, pattTest3->rhs3}, {1}] Specific example : ...
1 vote
70 views

...
67 views

### InverseLaplaceTransform gives inconsistent results

These should give the same results, but they do not: InverseLaplaceTransform[1/Sqrt[x] HeavisideTheta[x + 1], x, y] InverseLaplaceTransform[1/Sqrt[x], x, y] ...
72 views

### Animate a point that follows a function inside a plot

I'm trying to create a plot that shows an animation of a point moving along a function. The idea behind this is that a I want the point to follow the function until the discontinuity point. For every ...
134 views

### Empty .png figures generated by a function "PlotWithGrid" whereas no problem with Export function

I have an issue about a .wls script that I can't manage to solve for the moment. I execute it with wolframscript interpeter on ...
83 views

### Find global maximum of InterpolatingFunction in interval but not maximum value

I have InterpolatingFunction generated from experimental data with many local maxima, one major peak I need to find, and the tail that grouse much higher then major peak. I tried to find my peak with ...
78 views

### Classifying elements, by the value of a fixed function, using Replace

Let L be a list of several lists. And the length of each list is less than 1000. You can create L by ...
43 views

### Why does Mathematica not know some integrals diverge?

I want to analyse the convergence of some complicated 1d integrals that may have divergences at $x=0$, similarly to the harmonic integral $\int_0^a 1/x \ \mathbb{d} x$, which I know is divergent. When ...
273 views

### Sorting a list of "Low", "Medium", "High" into low, medium, high

I have a list with 10.000 entries containing "low", "medium" & "high" data. It is in random order. How can I sort that to low, medium high?
1 vote
85 views

### MaTeX stopped working after a TeX upgrade

My system: Windows 10, Mathematica 11.2 Yesterday I had to upgrade my MikTeX because I absolutely needed to compile a document needing a newer version. Today MaTeX stopped working. I started getting ...
233 views

### Solve differential equation with constant

How can I get a symbolic solution from the following differential equation? I don't know in that case using a change of variable is a good idea. I have tried in maple as well but the form of the ...
121 views

### Estimating values from a timeseries picture

I have the following picture (one of several hundred): I want to basically read out every y-value for every year on the x-axis from this graphic and create a data table from it. For example, I want ...
32 views

### How to label lines and adjust ticks in MultiaxisArrangement?

I see we can make multi-axes with MultiaxisArrangement, but how can we adjust the ticks and how to label the lines in it or how to place plot legends of those lines?...
34 views

### ParametricPlot Evaluate a fuction with two parameters

I am trying to evaluate and plot a parametric function by altering the initial conditions with two parameters. The evaluation parts works ok but i am having problem plotting it. I tried to use Flatten ...
1 vote
58 views

### How to introduce a symbol for the derivative as a symbol with a point on top?

I am making images in Mma for an article. In a FrameLabel I need to show a text containing a derivative in form of the letter X with a point on top: I found a special button in Palette "Writing ...
1 vote
53 views

### Append data in for loop in table shape

I'm trying to append for every element of my for loop a complete table to my file myfile.dat, but everytime I run the loop I get it overwritten by the last cycle. ...
1 vote
67 views

### Module returns multiple functions

I want to write a module that returns two functions which then can be evaluated later on. I know how to do it with a single function, but I don't know how to make it work for multiple functions. An ...
103 views

...
62 views

### Simplifying an expression(s) for an equilibrium point?

Trying to use Bob Hanlon's solution from here for the following system doesn't seem to work here, why? How do I simplify the equilibrium point to this simplified expression? ...
117 views

### Pattern match with "+" sign

Can you pattern match with a "+" sign? Here is the recursion...(which does not work) ...
1 vote
63 views

Motivation: I am using FunctionInterpolation[COMSOL[x]] in combination with COMSOL to search for the interpolation of my COMSOL model. COMSOL needs a lot of time to ...
564 views

### How can I quickly find the coordinates of key points? [closed]

There are 1000 points in the space. The coordinates are (0,0,0) - (9,9,9). Any point can cover all points on the three straight lines (parallel to the X, Y and Z axes respectively) where this point is ...
1 vote
151 views

40 views

...
318 views

### Reproducing figure from paper on hydrodynamics

I am trying to solve Eqn. on Page 674 of https://www.nature.com/articles/nphys3667.pdf I shall quote the relevant paragraph : Next, we proceed to analyse the nonlocal response in a strip with ...
155 views

### How to draw a heat map for some data across a circular region?

I have the following data over a circular region like this: How can I make a heat map across the circular area?
59 views

### How to Bring the XY Contour Plot Inside a ListPointPlot3D

The code below nicely takes 10000 pairs of {x,y,z} coordinates generated by a system of recurrence equations and plots them as ListPlot3D and ListPointPlot3D. I would like to incorporate the xy ...
112 views

### Bugs in hypergeometric functions with negative integer lower parameters

If you were to evaluate these expressions, Mathematica returns the value shown. ...
83 views

### Solve a symbolic expression

I'm working with the Hoek Brown plastic yield surface to model soil/rock materials. The yield surface is given by: Were sig1 and sig3 are the maximum and minimum principal stresses. sigc, m, s and n ...
36 views

### Plotting a tangent line [duplicate]

I have to plot a function and the tangent line and I don't know how to do it. It has to be one plot function: f[x_]= Sin[x] and the tangent line for the function is x=0 Other questions didn't help me ...
35 views

### Wolfram script exported from a Mathematica Notebook : errors actually warnings?

I have exported with the following script put at the beginning of my Mathematica notebook : ...
58 views

### NDSolve: there are more variables than equations, underdet

I am working on using NDSolve to solve coupled ODE. The following is the coupled equations. It works fine for sever orders. I used table to generate like 962 couple variables and equations, where the ...
59 views

### Create a Table with 3 different variables from 2 Lists and 1 Table

I am new to Mathematica. I learned how to join 2 lists to make (x,y) type of representation using Transpose@{X,Y}. Now my problem is that I have to make a table of 3 variables. I have one set of data ...
85 views

### Extremely slow import of mx files with Molecule objects [closed]

Version: 13.0.1 on Linux Hello, I recently found a collection of 39,361 SMILES strings that I converted to Molecule format with Mathematica. I then exported the resulting list of Molecule objects into ...
1 vote
89 views

### While inside a function body does not work as expected [closed]

I'm trying to write a function that return a randomly created rational polynomial function that has a discontinuities points. I already have a function that generates random rational polynomial (...