0
votes
0answers
43 views

NestList on a function where one of the arguments is chosen by the user

I need to NestList a function where the user chooses one of arguments. Here it is an example: ...
2
votes
0answers
125 views

System of Partial differential equations

I am trying to solve numerically a system of 3 partial differential equations and I am facing a problem. My functions are f[x,t], ...
2
votes
2answers
70 views

Reduce and roots of an irrational inequality

I use command Reduce to solve an inequality. First, I used Reduce[Sqrt[4 x + 5] - Sqrt[-6 x + 10] <= Sqrt[2 x - 1], x] and ...
2
votes
0answers
86 views

How to convert a notebook to an association and back?

I have a notebook that serves as a nice readable document but is it a database of sorts, I'd like to transform this into an association so I can manipulate and export it as a dataset. Here is a sample ...
3
votes
1answer
320 views

How to manipulate spoken text with Speak?

I need to vary the speed, pause, reverse and in general control aspects of the playback of Speak[] is this possible?
0
votes
0answers
30 views

Update Type 1 fonts with Open Type fonts

Hi I have very old notebook files which was composed 2009, where few fonts was used with Type 1 but now I want to replace with open type format. Also I have stylesheet, do I need to do any changes in ...
1
vote
0answers
95 views

Exporting Classify Models

Currently I have created a simple classifier to classify sentiment from a string of text (or a tweet). The code is very basic and looks something like this: ...
2
votes
1answer
99 views

simplifying integrals for multiple exponentials

This is somewhat related to this question, but applied to products of Exp[]. For example, I have a symbolic expression containing terms like $Exp[\int_0^1 ...
0
votes
2answers
49 views

SequenceAlignment behavior

When I do: SequenceAlignment["-0.999995756767227832383453368554576431549","-0.999995756767227832383346049698547342279"] I get: ...
1
vote
0answers
39 views

How to control the cursor during slide show? [closed]

I often use Mathematica slide presentations in class. I would like to keep the standard arrow cursor (or one of my own choosing) during slide presentations. The default behavior over text cells is a ...
6
votes
1answer
238 views

Strange Behaviour of NIntegrate

I found some of the values remained unevaluated using the following code Table[NIntegrate[Sin[i x]/((2^x + 1) (Sin[x])), {x, -Pi/2, Pi/2}], {i,70, 90}] Pick them ...
12
votes
7answers
607 views

How to properly inject iterators into table? [duplicate]

Goofing off on a prior question, I was fiddling with other methods, which led me to the need to inject a constructed set of iterators into a table construct. Now, ...
2
votes
5answers
302 views

Simplify an integral involving trigonometric functions

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations. $$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin ...
1
vote
2answers
165 views

How can I show cursor coordinates as I move the mouse over a contour plot?

How can I show cursor coordinates as I move the mouse over the contour plot in the result displayed by evaluation the following: ...
0
votes
0answers
60 views

VariationalBound with Lagrangian dependent on multiple functions

I am trying to solve a variational problem, where the Lagrangian depends on multiple (7) functions of multiple (2) variables and their first derivatives. As a first approach, I discretized the ...
3
votes
1answer
147 views

How to solve a transcendal equation

I want to get the solution x of this equation a (-(1/(1 + b c + a x)) - Log[b c + a x] + Log[1 + b c + a x]) - d = 0 in ...
-2
votes
1answer
54 views

Find constants of differential equations [closed]

I have the equation $y'' + 16y' + 64y = 0$ Repeated root of aux eqn $r = -8$ Given the initial conditions, how do I solve for the constants $A$ and $B$? ...
0
votes
1answer
66 views

Creating a symbolic function dynamically given an array of data

I have a function that is based on the numeric values of a random sample that I would like to maximize: ...
1
vote
1answer
145 views

Is there an easy way to let mathematica print out every Erfc and InverseErfc as F and F^{-1}

Mathematica uses complementary error function and its inverse as functions for example when integral of a Gaussian is taken. Therefore, all output expressions of Mathematica involve Erfc and ...
18
votes
2answers
572 views

Different floating-point numbers equal?

Let's define two different numbers. x = 1. y = 1. + 2^-52 (* equivalently, 1 + $MachineEpsilon *) Let's make sure they're different with ...
1
vote
1answer
46 views

Sequence not working in Manipulate?

I have a function that I would like to construct the Manipulate parameter list with Sequence. This is a simpler example but it ...
2
votes
2answers
529 views

Wolfram Alpha will calculate this definite integral but Mathematica won't

I'm trying to compute a definite integral of the form $$\int_{0.2}^{0.5} \frac{1}{(1 - y)y^2\sqrt{0.5 - y^2 + y^3}}$$ in Mathematica. WolframAlpha will calculate this but Mathematica only outputs the ...
0
votes
0answers
27 views

Options from Graphics command [duplicate]

What do it mean $[[1]]$ in the following command? Graphics[...][[1]] How about the following command? ...
2
votes
1answer
246 views

Is there a way to simplify a symbolic expression at assignment, once-for-all?

I have a series of symbolic function calls that could be greatly simplified using some assumptions. I think I would like for these assumptions to be used in the definition of the function so that they ...
1
vote
1answer
261 views

Cannot import Excel (xls or xlsx) files which have non-ASCII characters in the name

It seems mma9 works fine, but with mma10 it fail to load a file name with Chinese characters. I use MacBook Pro(Retina) with OSX 10.10.2, and Mathematica 10.0.0.0. I need the file name with Chinese ...
4
votes
4answers
244 views

First digit difference between two numbers

I was trying to build a function that finds the first decimal place difference between two decimal numbers of same sign. An example: ...
1
vote
1answer
67 views

How to rescale the axes on a 3D graph?

I currently have a graph in which the x and y axes take values on the order of 10^-4. Which looks messy, ...
0
votes
1answer
51 views

Import command gives different solution to equation than cut & paste

I would like to import values from a text file to run a notebook. The notebook works fine when I cut and paste in all the input values manually. Here is a working version. But when I import the same ...
0
votes
0answers
20 views

NMinimize as objective function of NMinimize [duplicate]

Let f[x_,z_]:=... g[x_,z_]:=... fully numerical apart for x and z. Then, I want to find z by minimizing f^2 for given x. Then, I want to find x that maximize g for z in the first step (which is a ...
11
votes
2answers
316 views

How do I prevent Mathematica from reformatting the expressions that I copy as LaTeX?

When I choose something that looks like $$ W_1(1)=\rho ^{5} \omega _1 \rho ^{-5}\\ W_2(2)=\rho ^{23} \omega _2 \rho ^{-23}\\ W_3(3)=\rho ^{10} \omega _3 \rho ^{-10}\\ W_4(4)=\rho ^{9} \omega _4 \rho ...
1
vote
2answers
109 views

How can I control 'TraditionalForm' substitutions and formatting in special cases?

I have eqns = TraditionalForm[HoldForm[Subscript[W, #][#] = ρ^s[#] Subscript[ω, #] ρ^-s[#]],] & /@ Range[4] which (with ...
1
vote
1answer
74 views

Is it possible to assign a value where the target is itself a variable

If I have a variable x := "a". Is there a way I can use it to assign a value to a, by just referring to ...
0
votes
3answers
80 views

Delete nested lists with Missing[“NotAvailable”] [duplicate]

I have a list of stock symbols and related information containing some entries Missing["NotAvailable"]. I would like to delete all nested lists which contain a ...
4
votes
1answer
344 views

Finding the dominant frequency in a large dataset with Fourier + periodogramm

I know there are dozens of questions about how to extract the correct frequency out of data, however I probably don't interpret my data correctly, or do not apply those answers correctly. Problem I ...
0
votes
1answer
72 views

Solving coupled ODEs with NDSolve

Given the system of differential equations: $i\frac{d}{dt}c_{1}(t)=H_{12} E(t)e^{(iw_{12}t)}c_2(t)+H_{13} E(t)e^{(iw_{13}t)}c_3(t)$, $i\frac{d}{dt}c_{2}(t)=H_{21} E(t)e^{(iw_{21}t)}c_2(t)+H_{13} ...
2
votes
3answers
320 views

Creating an image grid that displays a full-size image when a thumbnail in the grid is clicked on

I am working on some teaching resources and pulled a whole bunch of images off the internet to illustrate the idea of "angle". I can get Mathematica to import them and display them in a nice ...
0
votes
0answers
22 views

Copy as latex error: [duplicate]

I am trying to transfer a question to http://math.stackexchange.com/, however I have always used mathematica to convert code into latex. Now I have discovered some errors with regards to the code; ...
13
votes
4answers
461 views

How to make a movie from a complex demonstration?

I have a complex Manipulate-based demonstration containing a few sliders and a Setterbar. I would like to make a movie out of it, avi, or whatever else. The ...
0
votes
1answer
107 views

Select nested lists based on string pattern

I would like to select nested lists out of a master list based on certain string pattern as in the following example: ...
0
votes
2answers
82 views

How to combine all possible N boolean values?

Is there any simpler formula than Tuples[{False, True}, 3] to generate tuples of all combinations of boolean values?
7
votes
2answers
112 views

Automatically scroll along with currently evaluating cell?

If I'm evaluating an entire large notebook, I usually just press Alt-V Y to find the currently evaluating cell. Is there a way to keep the currently evaluating cell automatically in focus so that the ...
8
votes
1answer
281 views
-1
votes
1answer
140 views

Center of gravity of a cylinder in 3D space [closed]

am trying to find the center of gravity coordinates of a cylinder(x,y,z coordinates). however,I cannot figure it out using the triple integral method especially when it comes to the integral bounds. ...
0
votes
1answer
78 views

Working with symbolic values in Quantities [duplicate]

I have the following expression: x Quantity[y, ("Milliwatts"*"Seconds"^2)/"Joules"] If I try to convert this to the SI unit, I would expect to get ...
1
vote
1answer
106 views

Use StepMonitor and Dynamic to plot progress of FindMinimum

The obvious way of plotting the progress of FindMinimum fails with an error about things not being localizable: ...
0
votes
2answers
80 views

Curve fitting of a list and exclude some figure

I am a fresher of Mathematica and trying to program a list of digits. When I plot the diagram of the list, it shows that the figure at 12 is much larger than the others. Does anyone have idea on it? ...
0
votes
2answers
82 views

Matrix operation (simplify)

I had a $6\times 6$ matrix ...
7
votes
3answers
401 views

Envelope for harmonic oscillator [duplicate]

I am able to take the expression $\cos 11t-\cos 12t$ and use the sum to product identity to write it in the form $$\left(2\sin\frac t2\right)\sin\frac{23}{2}t.$$ I can then plot the function and use ...
0
votes
1answer
78 views

Cannot import data into a notebook as a list of numbers

I have text file with a list of numbers separated by commas, which I would like import into a notebook to be called when the name ratevector is used. If I cut and ...
0
votes
0answers
77 views

Simulation of the semicircle Wigner Theorem

Let's begin with some termes: For $1\le i<j<\infty$ let $X_{i,j}$ be independant and indentically distributed (i.i.d) real random variables with mean $0$ and variance $1$ and set ...

15 30 50 per page