0
votes
0answers
7 views

Lychrel number Algorithm [migrated]

Recently became fascinated with the search for Lychrel and palindromic numbers as recreational mathematics. for the who are unaware, the process for performing this check on a number manually is as ...
-2
votes
1answer
70 views

Are these codes the same?

I have this code: ...
7
votes
2answers
128 views

ListLinePlot Filling Wrong

Bug introduced in 8.0 or earlier and persisting through 10.2 or later. I used ListLinePlot to plot data from .csv files. However, the y-values from Graph 1 do ...
0
votes
1answer
93 views

Using Plot and Piecewise to graph a roller coaster

I am graphing a roller coaster using Piecewise and Plot commands on Mathematica. I have the first 2 Piecewise functions and would like to add a loop to the end of it. Here is my initial graph: This ...
3
votes
1answer
51 views

NDSolve: obtain time difference when different solutions get same distance to equilibrium value

I have a numerically solved a differential equation which has an equilibrium value and a starting point, both included as a parameter. I want to plot the difference between the times it takes to come ...
2
votes
0answers
27 views

“Undo” not working for script, gothic, and double-struck letter forms?

Has anyone else experienced anomalous behavior using "Undo" (Ctrl-z) with notational alphabet letter forms? Since Mathematica's built-in functions are capitalized, one generally avoids beginning ...
3
votes
1answer
87 views

DensityPlot: giving the same color to a range of values

The following command DensityPlot[x y, {x, -3, 3}, {y, -3, 3}, PlotLegends -> Automatic, ColorFunction -> {"Rainbow"}, PlotRange -> {{-3, 3}, {-3, 3}}] ...
4
votes
0answers
39 views

Can I customize the shell command line prompt?

Is there a way to customize the command line prompt (e.g., colorize it) for MathKernel when it runs as a shell command (in general, but specifically on OS X)?
3
votes
2answers
138 views

Automatically detect higher slope in numerical data (within a certain range)

Suppose the dataset data is part of some simulations whose results should follow a certain model. Here is data and its ...
2
votes
0answers
110 views

Brownian Bridge - Multiple Paths

I am attempting to simulate multiple Brownian Bridges on the interval [0, 1]. I have the following snippet: ...
0
votes
1answer
71 views
0
votes
0answers
4 views

Posted a question, then finshed registering. But the questions is not mine [migrated]

I posted a question on this website (http://mathematica.stackexchange.com/questions?page=2&sort=newest), and then I completed the registration afterwards from the email that was sent. However, the ...
0
votes
0answers
70 views

Solve won't solve $x = y^2 - z^2$ for $z$ [on hold]

Although this equation can be solved in my head, it's bugging the crap out of me that Wolfram|Alpha can solve this, yet Mathematica can't. I'm trying to solve this equation for z: $\quad \quad x = ...
1
vote
0answers
30 views

import of a opj file (Origin)

Is there a way to import a file of opj-type? Or do you know a package to convert the data? The Import[] function seems not to know this format.
-2
votes
0answers
35 views

ExportString and CreateExecutable

Re Mathematica 10.2 under Windows 8.1. The following post to Wolfram Community ... http://community.wolfram.com/groups/-/m/t/556769?p_p_auth=PQNE4sC5 ... asks why an error message says "...convert ...
3
votes
2answers
138 views

Modifying the content of a list

If I have a long list of form {{1,2,3,4},{5,6,7,8}, ... {97,98,99,100}} how do I edit/convert it by adding the text as shown below ...
0
votes
1answer
55 views

ParametricPlot and Piecewise function

I want to create a ParametricPlot with multiple Piecewise functions in it. I have tried the following code but it doesn't work ...
10
votes
2answers
141 views

How to generate a closed B-spline curve?

Could someone tell me what does Wrap the first p and last p control points. mean? Please see here, THX I wrote a function called ...
1
vote
1answer
55 views

How to DumpSave all variables or the whole notebook?

Is there a way to DumpSave all the variables in the notebook? Or better whole notebook so that opening it would restore all the definitions.
5
votes
1answer
46 views

Generating repeated elements in a list [on hold]

Is there a function in mathematica that allows you to generate repeated elements inline within a list. For example, let's say you provided this as input text: {1, 2, 3, 4, Repeat[5,3], 6, 7} ...
-3
votes
0answers
33 views

integral-equation of Wentzel–Kramers–Brillouin [on hold]

I need a code that can help me to solve the WKB equation for the eigenenergies for any given potential
0
votes
0answers
61 views

Need to plot binomial distribution probabilty function [on hold]

I am incredibly new to using Mathematica, and struggling to learn it as I have very little experience with any sort of software more complicated than excel, so I am very sorry if this is a stupid ...
0
votes
0answers
20 views

How to Expand an expression joining variables [on hold]

How can I obtain, starting with ax (a - x)^2, the expression ax^3-2a^2x^2+a^3x? If I try ...
1
vote
1answer
34 views

Extract list of values associated with specific header within an expression

I would like to have a function that can extract from an expression a list of values that are within the brackets of a certain header at any level: ...
-1
votes
0answers
33 views

Calculating mixed strategy equilibrium in battle of sexes [on hold]

How to calculate the mixed strategy unique equilibrium in the following modified battle of sexes game: Player 2 A B ...
3
votes
1answer
69 views

Why am I getting different answers for integral depending on method?

I'm trying to carry out an integral and I'm finding different answers depending on which method I choose to integrate with. I assume this has something to do with divergent pieces but I don't ...
2
votes
0answers
43 views

Mathematica 10 on Ubuntu: Extremely slow input and random key inputs

I have some problems with my mathematica 10 on Ubuntu 12.04. First, the keyboard input is extremely slow. I press a key, and then the input comes with a delay. This makes typing very cumbersome. ...
2
votes
2answers
142 views

How to solve this two algebraic equation simultaneously for u and H ?(all real number)

I want to find the non-zero value of H when beta is changing(especially what value of beta when increasing will there be a non-zero H value). H is between [0,100]. This is actually the calculation ...
2
votes
1answer
75 views
5
votes
1answer
71 views

Searching for literal strings with TextSearch

The documentation indicates that TextSearch can be used to look for a "literal string" inside documents, but it appears Mathematica may be applying a regex-style ...
0
votes
2answers
57 views

Mean[] of symbilic list returns numbers [on hold]

I wrote simple moving weighted average function and tested it over the symbolic list. It supposed to return moving triad average - 1/5{a+b+c}, 1/5{b+c+d}, etc. It returns first 6 triads correctly and ...
2
votes
0answers
22 views

How to stop auto loading of previously opened notebooks

I'm trying to prevent Mathematica from opening previously opened notebooks when I start it up. I'm using version 10.0.0.0 on Mac OS X Yosemite. I've dug around in the preferences, and have tried ...
5
votes
2answers
103 views

Techniques to find all local minima of black box function with n continuous derivatives?

I have a blackbox function f on [a,b] that is known to be continuous, and has n continuous derivatives. The function uses polynomial interpolations (but isn't a polynomial interpolation itself), so no ...
0
votes
0answers
34 views
3
votes
2answers
76 views

Maximizing a function defined using NIntegrate [duplicate]

I have two functions fn[x,y,z] which is in integral form and I have another function gn[x,y] which is also in integral form ...
7
votes
1answer
82 views

How to add a caption below a cell?

How can I change my stylesheet definition for a cell to optionally add a caption below? For example, I would like to add a caption to my "Program" cells shown here: like this (but with the option ...
0
votes
0answers
22 views

How to find the optimum word length of a group element?

I have a (large, finite, permutation) group, and a group element that I know is a product of length=20 of the generators. But when I ConvertGroupElementToWord, I get a word of length=118. Other, ...
44
votes
5answers
1k views

Advice for Mathematica as Mathematician's Aid

I use Mathematica mainly as an aid in symbolic attacks on problems, usually intermediate or harder and often number theoretic. While Reduce, ...
2
votes
1answer
52 views

2D plot using output from the other function

I would like to get 2D plot using output from the other function. FindInstance[0.5*x^2 + Cos[y + P] == 1, {x, y}, Reals] By changing values of P manually it gives ...
7
votes
2answers
120 views

How to do multi-dimensional principal value integration?

The toy model is: $$\int_{-2}^{2}\int_{-2}^{2}\frac{1}{1-(x^2+y^2)}\, dx\, dy$$ The integrand have opposite sign across the circle $x^2+y^2=1$, so one would expect that the integral has meaning only ...
0
votes
0answers
14 views

How to find a Sylow p-group? [migrated]

Using Mathematica: Given a (finite, permutation) group G of order p^a*m, where p is a prime not dividing m. and G is a very large finite group (so looking through all the elements is not possible), ...
3
votes
1answer
48 views

Area of a surface spanned by 2 parametric curves

I would like to find the area of a surface spanned by two parametric curves in 3D. I came up with this metric for distance between curves. The illustrations are in 2D for simplicity. ...
4
votes
1answer
35 views

Failure in use of SetPrecision with Filter

I am working with a narrow band filter and I wish to use a high precision version. The filter is defined using Integers with Laplace variable s. Here is the, rather horrific, equation: ...
3
votes
3answers
123 views

How to find a quotient group?

Given a normal subgroup H of a (large, finite permutation) group G, knowing a set of generators for each of H and G, how to find a subgroup K of G that is isomorphic to G/H? (Using Mathematica.)
0
votes
1answer
48 views

Avoiding misconversion of data with ToExpression function [on hold]

I've got a list of data with the following structure which can be easily converted To expresion by some manipulation such as ...
1
vote
1answer
47 views

Linear Fit of multidimensional data

I am trying to find linear decomposition of vector B (of arbitrary dimension $n$) in the form : $B = \alpha_{1} C_{1} + \alpha_{2} C_{2} + ...$ where $C_{i}$ are known vectors (of dimension $n$) ...
1
vote
1answer
101 views

Kernel is crashing during evaluation of FindRoot

I have a bunch of aux functions and constants ...
8
votes
2answers
324 views

n-dimensional plot

I want to plot 6-dimensional data using parallel axes (https://en.wikipedia.org/wiki/Parallel_coordinates). The list looks like this: ...
14
votes
3answers
455 views

How to zero (or replace) the diagonal of a square matrix?

Zeroing the diagonal of a square matrix is an operation I need frequently, but somehow I still haven't managed to find an elegant solution that satisfies all these requirements: works with both ...
1
vote
3answers
111 views

Differentiation help [on hold]

I am new in Mathematica. I want to differentiate ...

15 30 50 per page