All Questions

Filter by
Sorted by
Tagged with
7 votes
2 answers
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 ...
user avatar
  • 1,448
1 vote
1 answer
51 views

Making text larger without changing size of superscript?

I have the following plot: ...
user avatar
0 votes
0 answers
32 views

Norm adding up residual

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 ...
user avatar
  • 77
2 votes
1 answer
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: ...
user avatar
  • 699
2 votes
1 answer
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 ...
user avatar
  • 23.1k
0 votes
1 answer
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. : ...
user avatar
3 votes
1 answer
151 views

How to speed up the calculation of recurrence formula?

I have a recurrence formula. How to quickly solve P[1] to p[49]? ...
user avatar
  • 107
5 votes
1 answer
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 ...
user avatar
4 votes
1 answer
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 : ...
user avatar
  • 2,451
1 vote
1 answer
70 views

NSum::nslim: Limit of summation k is not a number. Help, please( [closed]

...
user avatar
  • 43
2 votes
0 answers
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] ...
user avatar
  • 2,721
0 votes
1 answer
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 ...
user avatar
  • 69
4 votes
1 answer
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 ...
user avatar
  • 43
3 votes
2 answers
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 ...
user avatar
3 votes
1 answer
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 ...
user avatar
  • 2,451
2 votes
0 answers
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 ...
user avatar
4 votes
2 answers
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?
user avatar
  • 43
1 vote
1 answer
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 ...
user avatar
2 votes
2 answers
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 ...
user avatar
  • 31
2 votes
1 answer
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 ...
user avatar
  • 2,703
2 votes
0 answers
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?...
user avatar
  • 173
0 votes
0 answers
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 ...
user avatar
  • 31
1 vote
1 answer
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 ...
user avatar
1 vote
1 answer
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. ...
user avatar
1 vote
3 answers
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 ...
user avatar
  • 113
0 votes
2 answers
103 views

Why can't the two variables' equations be solved?

...
user avatar
  • 41
0 votes
1 answer
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? ...
user avatar
  • 465
2 votes
1 answer
117 views

Pattern match with "+" sign

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

FunctionInterpolation with some datapoints to start with [closed]

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 ...
user avatar
7 votes
3 answers
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 ...
user avatar
  • 107
1 vote
2 answers
151 views

Minimax / Minmax optimization

For the complex polynomial $$P_n(z) := 1+z+\frac{z^2}{2} + \sum_{j=3}^n \gamma_j z^j,\quad z \in \mathbb C.$$ I want to solve the following minimax/minmax optimization problem: $$\min_{\gamma_j} \max_{...
user avatar
  • 113
0 votes
2 answers
68 views

How to find a set of solution of the inequality?

There exists a,b,c,d,e such that ...
user avatar
  • 51
2 votes
1 answer
151 views

Why can't the data be fitted? [closed]

...
user avatar
  • 41
0 votes
0 answers
38 views

Dynamically hiding/showing the output

Consider some reference table: table=Table[i,{i,1,100,1}] Is there any way to dynamically hide/show the output without placing ...
user avatar
  • 3,544
0 votes
2 answers
36 views

`Assuming` combined with mathematical notation of `Integrate`

I am trying to write down the following expression Integrate[Exp[-a/2/x]/x/(x + 1), {x, 0, b}, Assumptions -> a > 0 && b > 0] using mathematical ...
user avatar
10 votes
1 answer
96 views

How to list all possible string arguments of a specific function?

For example, to learn the function Alphabet, we can read its document. But it's rather ambiguous, like "Some languages have extra properties". How to find ...
user avatar
0 votes
1 answer
68 views

The inverse Laplace transform alters parameter constraints

I have this Laplace transform: $$\left( w \frac{L}{L+s}+(1-w) \frac{Q}{Q+s}\right)^n \ for \ L>0, Q>0,0<w<1.\ (1)$$ ...
user avatar
0 votes
1 answer
40 views

invoke data in the NDSOLVE

...
user avatar
7 votes
1 answer
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 ...
user avatar
  • 327
-4 votes
1 answer
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?
user avatar
0 votes
0 answers
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 ...
user avatar
  • 1,039
6 votes
0 answers
112 views

Bugs in hypergeometric functions with negative integer lower parameters

If you were to evaluate these expressions, Mathematica returns the value shown. ...
user avatar
  • 61
0 votes
0 answers
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 ...
user avatar
  • 2,760
0 votes
0 answers
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 ...
user avatar
  • 1
0 votes
0 answers
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 : ...
user avatar
  • 35
2 votes
1 answer
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
3 votes
1 answer
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 ...
user avatar
  • 515
1 vote
1 answer
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 (...
user avatar
  • 69
5 votes
4 answers
306 views

Calculate list of points inside a 3D region with specific spacing

I'm trying to get a list of points inside a 3D region. However, I want these points to have a certain spacing in x-, y- and z-directions. As of now I generate a list of points with the appropriate ...
user avatar
  • 345

15 30 50 per page
1
3 4
5
6 7
1678