# All Questions

162 views

### Smooth initial data

I need something that produce pseudorandom smooth initial data for modelling phase separation equations (Cahn-Hilliard and simular). Generator code for now: ...
39 views

### How to print TeXForm running script?

I've got a simple script which runs in bash some code - I want now to get an answer in TeX Form. If I would run Mathematica code inside the interpreter, it would be easy: ...
101 views

### How can DateObject handle calender weeks

I have dates given for a TimeLinePlot. These dates are in {year,week} format. DateObject ...
50 views

...
81 views

### Two dimensional recurrence

My actual problem is a bit more complicated, but let us first assume that we have a recurrence relation of the following type $a_{n,l} = a_{n-1,l} + a_{n-1,l-1} + a_{n,l-1}$ The boundary is given, ...
239 views

### Simultaneous equations—classify the solution set as finite, infinite, or none [duplicate]

How do I find the values of $b$ and $c$ for the equations $x + 5 y = 4$ and $2 x + by = c$ with a unique solution, an infinite set of solutions and no solutions with Mathematica?
74 views

### Playing a sound gives errors in Mathematica 10.3

I tried this Play[Sin[2 Pi 440 t], {t, 0, 1}] and it gives errors. What is wrong with my Mathematica( v10.3)? Update I found what cause this warning ...
607 views

### Detecting components in timeseries

I'm looking at this sequence of values: I'd like to detect the points where the center of the time-series shifts (around x=1000 and x=2000). Many of the transforms and smoothing methods I have ...
79 views

### How can I eliminate a parameter by substitution and simplification?

I have this equation k = (a b c t)/(Sqrt[(f + t)^2]) and I want to set p = t/(t + f) In which way I can eliminate ...
178 views

### NDEigensystem producing imaginary eigenfrequencies for the vibrations of a cantilever [closed]

We are trying to use NDEigensystem to solve for the vibrational modes of a cantilever with triangular cross-section. However, many of the solutions provided by NDEigensystem have imaginary ...
73 views

### Rewriting the set of equations in terms of new variables, using replacement rules when the expression contains partial derivatives [duplicate]

I am working with cumbersome equations, that contain a lot of terms. Here I will consider simple example: ...
88 views

### Is there a simple way to get the Conjugate of a complex term, provided all information is available?

I've found a few threads addressing this, but they all seem to have pretty clunky answers, and it's hard to believe there's not a more elegant solution in Mathematica: Remove annoying Conjugate a ...
113 views

### Implementing an affine cipher

I am trying to create functions for encoding and decoding an affine cipher in Mathematica. I have written these two functions: ...
108 views

### How can I find the coefficients of the next recursive symbolic function?

I have the following function $$f(x+3k) = -mf(x+2k)+f(x)$$. If we get $x=x+k$, then $$f(x+4k) = -mf(x+3k)+f(x+k) = m^2f(x+2k)+f(x+k)-mf(x)$$. Also we obtain the coefficients of the final functions,...
81 views

### How to set/adjust Precision for an iterative calculation?

How should I restructure this code? I generate a high-order polynomial poly with integer coefficients, then find roots and divide them out of poly one at a time. ...