0
votes
0answers
27 views

Something wrong in `Resolve`?

In[17]:= Resolve[ForAll[x, Sqrt[x] \[Element] Reals, x >= 0]] Out[17]= False I have tried to simplify an expression, but could not get the result I want. Then ...
0
votes
0answers
25 views

How can i enter this formula into wolframalpha ? [on hold]

http://www.wolframalpha.com/input/?i=x!*%28n-x%29!+%2F+n+!+*+%28sum+1%2Fk*%28+%28n-k-1%29+choose+%28x-1%29+%29%2C+k+%3D1+to+%28n-x%29+%29%2C++x%3D10%2C+n%3D100? I want to change x and n, and look at ...
2
votes
0answers
27 views

Export to JSON format specifically for MongoDB

It is a nice thing that, if you have a data as a list of rules (even nested), Mathematica can export them in JSON format. After generating useful data in Mathematica, Therefore, it seems it ought to ...
0
votes
0answers
29 views

Assigning to a variable with a computed name [duplicate]

I wish to assign about a dozen variables to complicated expressions. to ensure that the correct variable is assigned to the correct expression, I’d like to do something resembling ...
0
votes
0answers
50 views

Null in output expression [on hold]

My code is ...
1
vote
1answer
32 views

Function taking arbitrary number of arguments

I have a very similar function to that which a solution was provided by kguler, but am unsure as to how to adapt the solution that was given there. That post can be seen here. The adaptation is only ...
-1
votes
1answer
46 views

Exporting Data file in .dat format [duplicate]

Here I'm solving two simultaneous to get different values of the roots depending upon another variable 'x'. I've written up to the following using 'Find Root' ...
4
votes
1answer
312 views

How to sum over primes

Apologies in advance for the simplicity of the question, but I can't fathom how to write the following as a sum in Mathemaitca: \begin{align} &\sum_{p}^{a}\sum_{n}^{b}\text{expression} ...
3
votes
1answer
102 views

Modify ticks without specifying tick length

I am making a ListPlot, in which the x-axis is the result of AbsoluteTime. I want the tick text to be human-readable by applying ...
5
votes
1answer
78 views

Slow-down encountered when using NMinimize with a compiled function

I'm minimizing a large function. Evaluating the function is very slow symbolically but using Compile I can get ~100x speed-up on this step. However, despite this, the NMinimize process is only ...
0
votes
1answer
49 views

How to make Mathematica show intermediate steps in integral [duplicate]

I want to know how Mathematica evaluates this integral: $PV \int _ {0} ^ {i \infty} d \tau \, \frac{e^{-\frac{\tau^2}{2 M^2}}(b^2 - 3 τ^2)^2 (|b^2+\tau^2|-(b^2-\tau^2))}{\tau (\tau^2 - b^2)}$, where ...
1
vote
1answer
49 views

Sign of expression with several parameters

Briefly (with thank to all reader) Want to determine the sign in the interval $[0,1]$ of the expression $$ b (p-1) x^{-p}-\gamma +\eta _1 k_0+\frac{\beta _0 \left(\eta _1+\eta ...
0
votes
1answer
45 views

Unable to break out of two Do loops

I wrote a mathematica program to solve one dimensional schrodinger equation for particle in box model with zero potential. I used two do loops to achieve the task. The inner do loop will solve ...
0
votes
1answer
86 views

Solving Integro-Differential equations

I need help solving this equation. Is there a built in function that solves this type of equations? DSolve wouldn't work. Updated equation: ...
0
votes
0answers
41 views

How to make Position work right? [on hold]

I have a variable called t[1]. This happens: a = { t[1], 1}; Position[a, 1] (* {{1, 1}, {2}} *) How do I make Position find the 1 and not variables that ...
1
vote
1answer
88 views

Can CDF player (or player pro) run command line tools?

I'm curious if you could distribute a command line tool to run as a CDF file? For example, distributing a command line tool that loads data from a database, transmogrifies it somehow, then writes it ...
0
votes
2answers
59 views

Using StringReplace to make file names

Often I'm making many plots for different values of parameters. Each plot has a nice PlotLabel with superscripts, subscripts and some special characters. I would ...
0
votes
2answers
57 views

Zero division in linear equation solution

I'm trying to transform a vector to another coordinate system with different root vectors. The other root vectors are defined by three points in space that form a plane, and it's a normal vector. ...
3
votes
2answers
56 views

Annotation specifier like :Author: and sectioning like ::Section:: in package code

In packages, there is a special way to make basic formatting and annotation within normal comments. Here is another question related to annotation. Package file headers usually contain information ...
3
votes
1answer
41 views

How use TraditionalForm input in InputField?

Inside a Manipulate, I'd like one of the controls to be an InputField and to allow the input entered to be in traditional form. ...
-1
votes
1answer
64 views

How can I cluster a continuous percentage? [on hold]

I've got a table with 3 columns. 1 is descriptive A 1 is a percentage B 1 is a decimal number C I would like to investigate for the clusters (ie. B is high ad C is low, or viceversa). How can I ...
1
vote
2answers
87 views

Solving matrix equation

How can I solve the forward equation S[t]=C+A*S[t+1]*(Inverse((I-B*S(t+1)))*A for t=1 to t=10 and ...
1
vote
1answer
79 views

Plotting less of a sphere

It is a follow-up question from this one. I'll put the code at the end. So far, I have: Notice how nearer $z$ is to $0$, the more transparent the sphere is. I don't want to plot the whole ...
-1
votes
3answers
55 views

How to create a general expression for an integer derivative?

I need MMa to return a general expression for the jth derivative wrt v of v^n. This didn't work: ...
0
votes
0answers
21 views

Long time quitting kernel

Sometimes, but not always, when I quit the Mathematica 10 kernel using Evaluation / Quit Kernel, it can take several minutes before the process is completed. Other times, for the same program, it only ...
2
votes
1answer
65 views

RegionPlot3D does not plot “thin” regions?

Basically, I ultimately want to make something like this: However, I am unsure of how to do this in Mathematica. I'm trying to do this via RegionPlot3D, and for ...
0
votes
0answers
53 views

What happened with good old Histogram?

For the sake of demonstration in a class I wanted to use the line: Histogram[Accumulate[RandomReal[{-1, 1}, 100000]], {1}, "Probability"] to get a ...
0
votes
1answer
30 views

Function to Represent Recursive Integral

I'd like to represent the following recursive integral equation to evaluate/graph (for $n\leq3$): $K_{i,n}\left(x\right)=\intop_{x}^{\infty}K_{i,n-1}\left(y\right)dy$ where ...
0
votes
0answers
37 views

Tricky Poisson distribution question [migrated]

Am new to probability and have been struggling to solve the following question. Assume X1,...,X4 are IID with Xi ∼ Po(λ). Let Y = 1/4 (X1 + ··· + X4). Find Pr (Y < 2) in terms of lambda. Can ...
3
votes
1answer
58 views

How to add own description to BarLegend?

Is there a default-option possibility to add own defined names of the contour-labels in BarLegend? I want to have a string "hot" ...
2
votes
0answers
51 views

Finding and plotting roots with parameter

I have the following function: $$ u(x,t)=\sum_{k=1}^\infty\frac{v_0 L}{\lambda_k c \sin\left(\lambda_k\right)}\sin\left(\frac{\lambda_kx}{L}\right)\sin\left(\frac{\lambda_kct}{L}\right) $$ and this ...
2
votes
2answers
114 views

How to set viewpoint Graphics3D to a different default orientation?

I'd like to have a SphericalPlot3D show up with the "z-axis" oriented horizontally by default. For example, in ...
-1
votes
1answer
69 views

amplitude-phase modulation equations solution

I am trying to solve the following equation ...
2
votes
1answer
38 views

PrecedenceForm with Format

I'd like to format the output of certain operators with Infix-style formatting to have lower precedence than Times. Let's say I ...
-1
votes
0answers
34 views

Time dependence [on hold]

Given the potential energy P[r_] of interaction between two points and their weight m1, m2, the initial velocity v10, v20 and initial positions r10, r20 of the two points. ...
0
votes
1answer
51 views

Draw filled regions in DateListPlot

How do I draw specifiq filled regions in DateListPlot? I trying to plot something like this: Thanks
0
votes
0answers
28 views

All output in TexForm [duplicate]

In the Preferences -> Evaluation panel, there are only options for StandardForm, TraditionalForm and ...
2
votes
1answer
63 views

Font presentation difference between version 9 and version 10

I am trying to make presentation quality bar charts. As part of my effort, I used the code below. Updated to eliminate font specification. The problem appears to be a rendering difference, not a font ...
2
votes
2answers
183 views

Finding if a point is in a region bounded by a curve and the axes (curve made of discrete points)

Here's a small example this is not the real curve but a simple example I made for this question. Here's the plot of a list with a point A of known coordinates. Now I need to find if the point A ...
1
vote
1answer
33 views

Animate function

...
1
vote
0answers
59 views

Find algorithm or generator formula with automated procedure and pattern recognition

I am trying to find a generator formula for the discriminant of a polynomial and believe it would be an interesting problem for the Mathematica community to know how to automate evaluation of certain ...
1
vote
1answer
127 views

Line integrals over a path defined by a set of points (rather than an analytic formula)

I'm getting inaccurate results when computing (plotting) the value of a function against the length of a line integral, where the path comes from a set of numerically calculated points. (In contrast, ...
0
votes
1answer
61 views

CDF Player 10.0.2 does not launch

I have recently downloaded the new CDF Player 10.0.2. I export a CDF, and create an HTML page, to host the CDF, using the code provided by Mathematica 10.0.2. When I open the HTML page in Chrome ...
0
votes
0answers
46 views

Ctrl+Shift+K and it's strange behaviour [on hold]

I am used to keystroke Ctrl+Shift+K for autocompletation and template inserting. The problem is following: sometimes I press something unintended and Ctrl+Shift+K work like commenting by ( *Func...* ) ...
0
votes
2answers
46 views

Proper arguments to ListPlot? [on hold]

...
0
votes
1answer
46 views

NDSolve printing error message NDSolve::ndode [on hold]

Using NDSolve while solving system of ODE's. Here is my try ...
0
votes
1answer
43 views

How to use pattern matching for integral identities?

I have an unknown pdf f[x], and I need to express integrals involving f[x] as expansions of the moments of f[x]. For example: ...
0
votes
2answers
45 views

Solving linear recursions without constant depth in mathematica

Mathematica does not like this recurrence relation. I do not understand why? ...
5
votes
4answers
208 views

How can I get a list of the positions of the running minima in a list?

I want the positions of the (sequential) running minima in a list, that is, the positions of entries that have the minimum value of all the elements in that list, up to and including that entry. For ...

15 30 50 per page