2
votes
1answer
71 views

How to define a custom template for entering a partial derivative?

I want to define a custom template for entering a partial derivative. For example, When I press ctrl + shift+', I want to get To make my template, I followed a previous solution that made a ...
7
votes
3answers
347 views

Gaps in simple plot

I am trying to recreate this which should be fairly straightforward with ParametricPlot, but wondering why this doesn't work: ...
5
votes
1answer
639 views

How to set icon for Mathematica in Ubuntu Linux?

I installed Mathematica 9 and 10 on Ubuntu Linux 14.04 with Unity. How to set icons for them? At the moment they show up as gray squares with a question mark in it on the dock.
0
votes
1answer
144 views

Plot some ordered pairs on the Cartesian plane? [closed]

Can Mathematica show me a coordinate grid ( x-y plane) with some ordered pairs plotted on the plane? Or even better, some complex numbers represented as vectors on the real-imaginary plane.
1
vote
0answers
50 views

Generate a list of values of a function for each value of the parameters already found

The following question is an extension of this question Find all roots of a function with parabolic cylinder functions in a range of the variable. Now I want to use the roots found to calculate a ...
1
vote
1answer
143 views

How to save all images in GraphicsGrid?

I have a 2X2 images. How to save all the images at once while using GraphicsGrid ? when I try the save graphic option only one image is saved
0
votes
1answer
97 views

Solving non-linear ODE analytically in mathematica [closed]

I would like to solve the following differential equations $${dx\over dt}=\beta x-{{(C-x)^2}\over 4k} ,t\in[0, T]$$ where $\beta$,$C$ and $k$ are constant values. Also, the folowing terminal ...
3
votes
2answers
184 views

Optimize evaluation time for a Quantum Walk simulation

Here's the problem. I'm trying to simulate a noisy Quantum Walk to obtain results similar to these, experimentally obtained. I wrote my code, and I get results which are in accordance to what I ...
2
votes
1answer
76 views

Ctrl+= does not open a box

In the guide/WolframAlphaIntegration documentation it says that = : use free-form linguistics to generate Wolfram Language output ==: generate full Wolfram|Alpha ...
1
vote
1answer
139 views

Convert spreadsheet (Excel) to *.csv during import

I have long lists of data in spreadsheets and have the problem that Mathematica crashes regularly during import of the .xlsx files. Is it possible within Mathematica to take a certain tab of a .xlsx ...
1
vote
0answers
1k views

How to remove brackets from this list? [closed]

I have some lists which have many brackets. I'd like to remove brackets from the lists. For example, I need to change the list ...
28
votes
3answers
1k views

Does Mathematica have a built-in tool that allows one to operate on both sides of an equation?

Geogebra has a very neat CAS view that allows one to solve an equation step by step in the following fashion: $\quad \quad \quad \quad \quad \quad \quad \quad \quad $ You type an equation and ...
1
vote
0answers
77 views

Inverse Laplace computation Mathematica [closed]

I have a transfer function such as following, which I would like to find its inverse: F=(a*s^2)/(b*s^3+c*s^2+d*s+e) I have a numeric value for a b c d and e but ...
0
votes
0answers
327 views

contour plot (cartesian) using spherical coordinates postions

Let´s say that I have a data in the following configuration: { Lat, Long,distance, energy}-> lat, long -> galactic coordinates, distance unit - parsecs (3.2 ly) energy unit- ergs. I need to plot ...
1
vote
0answers
30 views

autocomplete or forward search input histories

I think there are many bash users here. In bash, a forward search of input histories can be done by Ctrl+r, which let you edit your previous similar input and reuse it. Is there a similar function in ...
3
votes
1answer
106 views

Defining an arbitrary binary relation

I am trying to define some binary operators. A binary operator operates on a set of variables V and is defined by a subset S of pairs of those variables {Vi,Vj}. For example, "=",">",">=" are all ...
1
vote
1answer
96 views

Reduce with for all and implies

I have the following question. p1 = a (1 - c + a) p2 = b (1 - c - b)/((1 - b)^2) v1 = (x^1.5 - 3*x)*p1 v2 = x*p2 I want to find x ranges which makes v1>v2 under ...
15
votes
3answers
574 views

Solve a trig equation system

Background of the problem In the same plane, P is a fixed point, A,B,C are moving point, PA=a, PB=b, PC=c, find the maximize perimeter of △ABC. let ∠BPC=A, ∠CPA=B, ∠APB=2*Pi-A-B, then the perimeter ...
1
vote
1answer
173 views

Undo (CTRL Z as well as under edit) bug after pressing control shift [duplicate]

Bug introduced in 10.0 and fixed in 10.0.2 As some of you might know, if you press control + shift on windows, you change your keyboard layout. For example, : becomes ±. This happens sometimes in ...
2
votes
3answers
113 views

Efficient extraction of a subset

The context is molecular dynamics. The data is in the format (index_1, index_2, distance). The goal is to find all of the distances to the neighbors of point index_0 and to present a set listing the ...
7
votes
1answer
297 views

NMinimize with NIntegrate (crash in symbolic evaluation, memory leak)

This is a "common" problem from what I've seen, but with a different spin. I have a function I use often that finds a fit of an expression to another expression with some free parameters (e.g. for ...
6
votes
1answer
331 views

Manipulate code crashes V10.1

This code is working with Mathematica 9, but Mathematica 10.1 is becomes unresponsive when I try to evaluate it. ...
0
votes
0answers
48 views

Why does NSolve not solve this system of equations on a bounded domain? [duplicate]

I have three functions $E1,E2,E3$ of $t1$ and $t2$. The expressions are slightly complicated and involve trigonometric functions. For clarity purpose, they are given at the end of the question. I wan'...
2
votes
1answer
76 views

Quotes vs No Quotes for Association Keys

I've tended to not put quotes around the names of my Key when making Associations. For example: ...
7
votes
1answer
143 views

How to calculate residues using different branches of the logarithm

My goal is to be able to compute the residues of something like $z^{\alpha} R(z)$ where $0 < \alpha < 1$, $R(z)$ is rational, and the exponential can be chosen with any branch. I found a way to ...
7
votes
3answers
244 views

Merging lists of pairs [duplicate]

I want to add several fluorescence spectra. They are lists of the format ...
4
votes
3answers
201 views

How to produce a matrix plot from 3 matrices a, b and c following RGBColor[a[[i,j]],b[[i,j]],c[[i,j]]]?

I am trying to produce a single-plot from 3 matrices, let's say: ...
5
votes
2answers
111 views

ParametricNDSolveValue has a problem with complex numbers

Bug introduced in version 10 and fixed in 10.3 Edited: I have simplified the example compared to before and narrowed the problem down a bit. I would like to use ...
5
votes
2answers
268 views

Evaluating a Series expansion of PolyLog function

I am trying to evaluate an expansion of the following integral $$ \int_0^\infty \frac{p^4}{1+\exp\left({\frac{p^2}{2mT} - \frac{\mu}{T}}\right)}\, dp = A_0(m,\mu) + A_2(m,\mu)T^2 + \ldots $$ in terms ...
1
vote
3answers
254 views

Find all roots of a function with parabolic cylinder functions in a range of the variable

I want to find all roots of a function involving Parabolic Cylinder Functions. In what follows, I define 2 variables $\xi1$ and $\xi2$, which in turn depend on $\omega$. My function is then defined as ...
1
vote
2answers
77 views

What is the role of the pattern object in this implementation?

In the documentation I found a nice idiom which allows me to do model fitting with interpolating functions. I think this kind of thing is amazing and a credit to the utility of an environment like ...
9
votes
2answers
139 views

Finding self-intersections of a closed curve represented by an interpolation function

I've been trying to find particular simple closed curves on a plane. ...
8
votes
1answer
120 views

Reference to multiple stylesheets

I need to set StyleDefinitions for a notebook in such manner so I can provide references to multiple stylesheets: ...
0
votes
0answers
58 views

Bounds of a closed curve

how to find the rectangular bounds of a curve which is of the form f(x,y) and forms a closed loop. The sides of the rectangle are parallel to the axes and are tangents to the curve. The time taken for ...
3
votes
3answers
214 views

Trouble with differential equation

I tried to solve this differential equation: $$\epsilon y''(x)+xy'(x)=-\epsilon \pi^2 \cos(\pi x)-\pi x\sin(\pi x)$$ with boundary conditions: $y(-1)=-2, \space y(1)=0$. If we take $\epsilon=0.1$, ...
2
votes
1answer
80 views

Turning powers into an explicit product

I have the following nested list {{yy[1, 4] yy[2, 7]}, {yy[2, 5]^2}, {1}, {yy[1, 5]^3 yy[2, 3]^2}} with objects yy[#1,#2] and I wish to get rid of the powers ^...
6
votes
3answers
142 views

Can I disable specific items in a PopupMenu control?

I have a PopupMenu in a Manipulate with items in it that are inapplicable in some cases, and rather than removing them, I would ...
1
vote
2answers
194 views

Query in Lists Mathematica - Pivot table

Recently, I finished a simulation, and I got the following data: ...
2
votes
4answers
174 views

Symbolic cut-off of high-order terms

I know that I can cut-off high-order terms of a $1$-variable polynomial P = a0 + a1*x + a2*x^2 + a3*x^3 + a4*x^4 + a5*x^5; simply by doing for example ...
3
votes
5answers
158 views

How to filter list of list of rules on certain condition?

For example, Solve[] returns all solutions as a list of list of rules. And mine looks something like this: ...
5
votes
1answer
85 views

Can Someone Please Explain Internal`$SameQTolerance?

If I input Internal`$SameQTolerance (* output = 0.30103 *) which is the approximation of Log[10,2], or ...
1
vote
1answer
73 views

Sum of Integers with a Pure Function

How would I find the sum of an argument, with the constraint that they are all integers (so if the argument contains a non-integer value, the function will not evaluate). I came up with these two: ...
11
votes
1answer
317 views

How to solve for the intersection points of two ellipses?

I have a parametric equation of two ellipses as follow $\begin{cases} x=a_1 \text{sin$\theta $}+b_1 \text{cos$\theta $}+c_1 \\ y=d_1 \text{sin$\theta $}+e_1 \text{cos$\theta $}+f_1 \\ \end{cases}...
0
votes
0answers
40 views

Consistency between Enter keys

The notebook tutorial notes that Shift+Enter needs to be pressed to evaluate input; however, for the number pad, only Enter is required. It appears as though the use of Shift is inverted for the ...
2
votes
4answers
141 views

ToExpression in Manipulate

lets take this small example code: Manipulate[Plot[Sin[x (1 + a* x)], {x, 0, 6}], {a, 0, 100}, Button["a=90", ToExpression["a=90"]]] By clicking the button I ...
8
votes
0answers
304 views

Which IDE do you use for Mathematica development?

After more than a year I revisited the IntelliJIDEA plugin but that still seems to be 'just' an editor, of course there is the Mathematica Workbench but why are there so few improvements? Version 10. ...
9
votes
0answers
120 views

Mathematica is getting slow when repeatedly calling an external program

I found a strange phenomenon that Mathematica is getting slow when I repeatedly called an external program by using ReadList. For example, the following code will display a significant increase of CPU ...
0
votes
0answers
79 views

L1-Norm Minimization

I need the function for the L1-Norm Minimization problem formulated here https://reference.wolfram.com/language/tutorial/ConstrainedOptimizationLinearProgramming.html#261990371 ...
0
votes
1answer
90 views

Pure Function that adds all arguments

the question asks to create a pure function that adds any number of arguments. Is the following acceptable? sum := Plus[##] & It does work, but can it be considered a pure function? I felt like ...
12
votes
1answer
223 views

Using Simplify on a consistent system returns False

Bug introduced in 8.0 and fixed in 10.3. It's late, but am I missing something here? Why should two independent equations, which together are consistent, ...

15 30 50 per page