0
votes
0answers
29 views

Making a grid of short elements? [on hold]

I have a list of very large elements (A below). I would like to make a grid of these results, showing only the Short version. However, when I apply Grid[] on the shortened elements, it does not seem ...
2
votes
0answers
43 views

Solution of the Lagrange's minimal surface equation [on hold]

Can I use Mathematica to solve the Lagrange's partial differential equation? $$(1+f_y^2)f_{xx}-2f_xf_yf_{xy}+(1+f_x^2)f_{yy}=0$$ I tried: ...
1
vote
0answers
36 views

Controlling size of TextArea with CloudDeploy FormFunction

CloudDeploy[ FormFunction[ "names" -> RepeatingElement[ CompoundElement[<|"first" -> "String", "last" -> "TextArea"|>]]]] I am using ...
1
vote
1answer
16 views

Getting rid of duplicate controls when using PaneSelector and Manipulate

I'm using PaneSelector in my Manipulate controls to change the limits on a variable for 3 (or more) different selections. Here ...
0
votes
0answers
17 views

Schmidt decomposition problem [migrated]

I'm having a problem in implementing the following problem: I have a quantum state so defined: $\left| \Psi\right>=\int ...
3
votes
2answers
123 views

Fixing text position in an animation

Following I have a simple animation with a variable displayed inside the plot. The significant digits of the variable changes as you run the animation which results in a smaller jitter on the text's ...
0
votes
0answers
41 views

Front End crashes when triggering autocomplete

Every time I try to type a function in Mathematica, e.g. Sum, after I type "Su" then Mathematica crashes and I do not know why! Same as if I type "Pr", it again crashes. I kind of feel that it tries ...
2
votes
0answers
33 views

Interpolating or “absolutising” symbolic sizes? [duplicate]

I often face the problem that none of the usual symbolic constants Tiny, Small, Medium, or ...
3
votes
2answers
228 views

Mathematica Interpolation or approximation

I have lists of points X and Y. {1212,1216,1217,1219...}, {1,2,3,4,5,6...} I combine ...
2
votes
3answers
50 views

Multiline output with CloudDeploy FormFunction

I wish to display multiple lines of text as output from CloudDeploy FormFunction. I have tried using a string containing ...
-4
votes
0answers
51 views

Function sin drawn on the ball, ParametricPolt3D [closed]

Needs drawing function on the ball and the point is to move the function sin. I wanted to use this function ParametricPlot3D, but too much I do not know how to use it
1
vote
2answers
72 views

Show linear plot as log plot

I have a listplot and plot of fit functions which I combine with Show[listplot, plot]. ...
9
votes
3answers
1k views

Parallelization works, but does not use all CPU power

I've written code which involves Parallelize@Cases. When I evaluate, I find that all 16 cores are being used, but not fully; in other words all cores are active, but the total CPU usage is only 50%. ...
0
votes
0answers
99 views

Absolute minimum of a function

I would like to ask for some recomendations in order to get a faster result of a function evaluation to get the absolute minimum. In my desperate moments I have written the following code to get the ...
1
vote
3answers
72 views

API for defining parametric probability distributions

Mathematica has a lot of machinery for working with predefined probability distributions. It is not clear how to make that machinery work with a new distribution. Suppose I want to define a brand new ...
2
votes
3answers
143 views

What is an efficient way to pick out consecutive, same first-letter words from a list?

Taking a list of words, I'd like to pick out consecutive words that start with the same letter. The output should be a list of these pairs. The following is relatively slow: ...
-3
votes
0answers
47 views

Help with project with wolfram mathematic [closed]

Topic ma project: Motion of the particle on surface and i have 2 pattern first is: Z=sin2xcos3y second: elipse Guys i dont know hot to make it.
2
votes
1answer
57 views

Can I create a mouseover summary or documentation for a new function?

In Mathematica, when you hover any a built-in function, a small window with 2 symbols appears (as in the third paragraph of this reference page, see picture): clicking on the former one gives you a ...
4
votes
1answer
79 views

Trying to create an interactive plot (newbie here)

I'm new at Mathematica so please bear with me. I am trying to create an interactive plot that will end up looking like this: I want to input values for certain variables and then plot a curve. This ...
3
votes
1answer
29 views

Estimating or monitoring progress on Contourplots

I came across Rojo's answer on the Mathematica Stack to the following questions: "Estimating progress on plots" Estimating progress on plots Could somebody please help me revise this code for the ...
0
votes
0answers
39 views

Constraints not taken into account [on hold]

I'm trying to minimize a function max according to three parameters (a,b and c), upon which I've attempted to put a few constraints. Although some are respected, others are not, which kind of defeats ...
7
votes
0answers
76 views

Adding irrelevant assumptions changes the result of Simplify

I've run into this problem a number of times. A typical example is Simplify[Sign[k], {0 < A, 0 < B, A*Exp[2*y] < k, y > 1}] which evaluates to $1$, ...
3
votes
2answers
240 views

Sphere+Helix animation

This is my code: ...
0
votes
2answers
205 views

Curve wound on torus

I'm beginner in the Mathematica and would like to do some animation based on curve function : ...
1
vote
1answer
40 views

How to define a Reduce function in order to define two parameters afterwards

I'm trying to evaluate numerically an equilibrium for a system of ODEs: dA = c A + b B - a A dB = d B + a A - b B So I define a list of known parameters: ...
2
votes
2answers
78 views

Ask Mathematica if there exists a value that satisfies conditions

I would like to build a function that returns true if there exists even one value of xg1 such that having as inputs Mtot, PL, xg2, mac, xga, and defining ...
3
votes
1answer
31 views

How to prevent a standalone kernel from opening windows?

I am trying to make Mathematica do some plots for me as a part of a script. I have a .m file that basically does Import[] on ...
0
votes
0answers
39 views

Extract Hermite Polynomial from Interpolation of Data

I have a set of data points which I interpolate like s = Import["data.dat"] sinterp = Interpolation[s] LogLogPlot[sinterp[x], {x, 100, 10000}] which gives me ...
5
votes
1answer
73 views

How to convert arbitrary raw boxes directly into String?

This question is motivated by the recent question about searching inside of the NB files. According to the Documentation, ToString expects a high-level WL ...
0
votes
1answer
48 views

How to get a speicifc element from unknown number of lists?

I have a mathematica function that returns a list of the form: ...
0
votes
1answer
87 views

Sine curve arc length

...
0
votes
1answer
60 views

How to do symbolic logic in Mathematica

I'm currently in Symbolic Logic with homework assignments (not asking for people to do my homework for me) with questions such as the following: (derive the conclusion using the eighteen rules of ...
6
votes
2answers
133 views

Voronoi diagram using RegionPlot, using the hyperbolic metric

I want to compute the Voronoi diagram on the unit disk, using the hyperbolic metric. So, I want to input a list of points and obtain a plot of the cells associated with each of the points. I defined ...
0
votes
1answer
57 views

How can I show multiple list line plots with their proper x-axis ticks? [duplicate]

Subscript[[Alpha], 1]={1.50,1.75,1.90,1.95}; c1={0.670,0.860,0.950,0.970}; c2={0.440,0.570,0.630,0.650}; c3={0.400,0.510,0.570,0.580}; c4={0.380,0.490,0.540,0.560}; ...
0
votes
0answers
34 views

Why am I getting an error message from NDSolve? [closed]

The error message is: {NDSolve[<<1>>,{y,z},{t,0,25}]} is neither a list of replacement \ rules nor a valid dispatch table, and so cannot be used for \ replacing. ...
1
vote
0answers
50 views

NDSolve returns solution with single point domain

Thanks to helpful comments from Michael E2 and George2079, I was able to focus in on exactly the source of the issue. With some simplification, I can reduce the problem to: ...
1
vote
0answers
37 views

NDSolve with only discrete variables

Is is possible to use NDSolve with DiscreteVariables if there are no continuous-time variables? This fails: ...
3
votes
1answer
60 views

Solve with Reals gives different answer

I'm very new to Mathematica (started using ver 10.4) and I was just verifying my calculations. I have the following equation: ...
4
votes
1answer
71 views

How to tell Mathematica to avoid simplification of product of exponentials with the same base?

There has been a similar question, but it doesn't solve my problem. I have this input: var = Exp[a] Exp[b] And the output is ...
3
votes
0answers
59 views

What's the most efficient way to load a very large dispatch table?

This question is possibly related to this topic, although I think I have something a little more specific in mind. Recently I've been working with dispatch tables for a project, since it seemed like a ...
1
vote
1answer
51 views

Defining functions as derivatives

I'm working on a model that requires a sum over a function that uses various coefficients. In order to make the sum easier to perform, I am trying to keep things general through the use of a ...
3
votes
2answers
104 views

Problems with integrating over a region

Following the example of this answer: Find the volume of the region defined by $|x|+|y|+|z|<4$ I tried to compute the following integral over a region by using ImplicitRegion. However, when I ...
1
vote
1answer
34 views

How do I Maximize over a Cuboid region?

So, I want to, say, find a maximum value of $|x_1x_3+x_1x_4+x_2x_3-x_2x_4|$ in a unit cube in 4D; how do I do that? I've tried ...
1
vote
0answers
56 views

Convert Java code to Mathematica [closed]

This is in reference to this question from Math SE: here. Is there a way to import Java code into Mathematica? I'm looking for either: A conversion utility A method of manually converting A way for ...
0
votes
0answers
36 views

Is it possible to declare a global variable in a package? [closed]

I have to create some functions in a package to solve inequalities step-by-step. I am having problems understanding some scope issues. For example, I have this function: ...
0
votes
0answers
36 views

NIntegration and NDSOLVE and Interpolation [closed]

I am working on the Duffing equation to calculate the residual error from the x'[t] solution after integrating the Duffing once but the accuracy is not good I ...
3
votes
1answer
135 views

Defining a matrix with elements acting as operators

This question is directly related with my previous one. I'll try to be more specific here. I have a matrix {{a[x],b},{c,d}}, where ...
11
votes
5answers
2k views

Beautiful dance of the Earth and Venus around the sun

I have seen very nice dynamic graphics created by users of Ma. I would like to get help whether the following graphics can be created using Ma. I was not able to create the dynamic picture here. ...
1
vote
1answer
38 views

Why doesn't recursive transformation stop when rules no longer match?

In an exercise where I was trying to pick out consecutive words starting with the same letter, i.e. I wanted: ...
-5
votes
1answer
52 views

What is this function aimed to do?

Table[Sum[tmatrix[[i, j]], {i, 1, 2}], {j, 1, 2}] apparently creates some sort of a table, and it evidently works on a matrix....although it is hard for me to understand what should it do beyond ...

15 30 50 per page