3
votes
1answer
339 views

Integrating over Bessel Function erroreous? (Hankel Transform)

The Hankel Transform is given by Integrate[f[x] x BesselJ[0,x t],{x,0,Infinity}] It is self-inverse, so ...
11
votes
4answers
771 views

How do I solve a PDE with a strange boundary condition?

How do I solve the PDE with boundary value like this $$u(t,x,y)=0, \textrm{when } F(x,y)=0$$ using DSolve? As a specific example, I want to solve heat equation $$\frac{\partial u}{\partial ...
3
votes
2answers
220 views

How to get a list of available appearance/styles?

This is a basic question but I haven't found any answer yet :/ Available appearances for Button[] are mentioned in Help, those ...
2
votes
2answers
123 views

How to use the Find and Replace Dialog Window?

The Find edit box in the Find and Replace Dialog Window shows a default word while opening. How do I tell it to show the word in which the mouse cursor is located in the Notebook, rather than the last ...
10
votes
1answer
386 views

Parallelization and Hadoop

The short question: Has anyone used Mathematica in conjunction with Hadoop and does Mathematica's built in parallelization play well with Hadoop? The long version: So I have a Mathematica program ...
2
votes
1answer
201 views

Using ToExpression within Manipulate

I would like to use ToExpression (or Symbol) within Manipulate. Specifically, when running ...
2
votes
1answer
272 views

How can I handle curve singularity in this NIntegrate integration?

Yesterday I asked a question about the non converging integral. Woods told me that it is due to the function which has a singularity along a line which passes through the integration region. (Why ...
9
votes
1answer
901 views

What is the full list of all font families?

I'm having trouble finding a complete list of the FontFamily strings that mathematica supports.
3
votes
1answer
213 views

Help on how to write a function to be used with NMinimize

I need some help to write a proper function to be used as a parameter on NMinimize. Here is the code of the function to be minimized (Please correct, optimize and rewrite the code if you want to - I ...
1
vote
2answers
794 views

Solving cubic equation for real roots

I'm looking to solve the following cubic equation for x: $\beta\, x^3 - \gamma \,x = c$. I have plugged in some sample values ($\beta = 2$, $\gamma = 5$ and $c = 2$). When I try to solve this ...
1
vote
1answer
97 views

When is Evaluate needed within function arguments? [duplicate]

I'm trying to do a simple variable substitution within a ContourPlot, but it's not working. Here's an example: ...
1
vote
2answers
325 views

Generating a list of rules [closed]

This is my first time asking a question on this forum. I would like to generate a list with a range of numbers and use this list for a function to read from. Ok, now for the good part, it would look ...
20
votes
5answers
917 views

How can I define a 3D version of the built-in VoronoiDiagram (VoronoiMesh in V10) function?

Can anybody point me in a direction that will guide me to extend the VoronoiDiagram function in Mathematica to handle 3D (three dimensional) situations (i.e. points in 3D)? Any help will be greatly ...
7
votes
1answer
282 views

How to change brackets in TraditionalForm output

I'm trying to improve TraditionalForm's output by using different brackets when there are more than one. For instance, instead of $u(v(r(b))))$, I'd like to get ...
2
votes
1answer
140 views

Implementation of Decompose

I'm curious as to how Decompose works so I decided to use Trace with the option ...
3
votes
2answers
213 views

Represent Plot Scale with an offset

I want to know how to represent the axis on my 3dplot with a scaled offset. Please see the image below, I just want to show in the plot as {X-Axis*0.1} and {Y-Axis*0.1} ...
1
vote
1answer
302 views

How to copy/paste an OverHat symbol into Microsoft Word 2010 properly?

I have problem with output traditional form of sign above the constant. When I copy/paste in word it is far away up. Is there solution for this? ...
1
vote
2answers
183 views

Manipulate: SetterBar with list of functions

From the documentation: Manipulate[Plot[f[x], {x, 0, 2 Pi}], {f, {Sin, Cos, Tan, Cot}}] How do I include a function like $1/x$ or $x^2$, etc. in that list? I ...
1
vote
1answer
227 views

ListPlot with labels that appear when the pointer goes over the points

I would like to generate a ListPlot with labels that appear when the pointer goes over the individual points. Specifically, I have a table of dimensions ...
7
votes
3answers
449 views

FullSimplify does not work on this expression with no unknowns

I can't reproduce this simple example from Habrat, 2010 ("Mathematica : a Problem-Centered Approach"). It is supposed to demonstrate the functionality of ...
3
votes
1answer
467 views

DensityPlot with one log axis

Is there any way of generating a density plot (or something similar) with one of its axes on a log scale? Essentially I'm trying to combine a LogLinearPlot and a ...
18
votes
4answers
1k views

How to integrate functions of linearly interpolated data?

At first, consider integration of pure InterpolatingFunction. Importing some data (works in v.9, for earlier versions one can use this link to download zipped ...
1
vote
0answers
574 views

Speed up Numerical Integration

EDIT: I need to evaluate a very complicated multi-dimensional Integral. The dimension of the Integral depends on a variable j. Let's make my point clear with the ...
1
vote
0answers
90 views

ReadList and multiple access of the same file

I have a file containing a large amount of data which can be processed independently. In order to process all data in a reasonable amount of time I distribute the jobs on three different machines. ...
1
vote
1answer
459 views
8
votes
2answers
154 views

How do I inherit a specific cell option from another style (without copy paste)?

How can I define a style with FontSize from Section and CellFrame from Program?
3
votes
3answers
175 views

Count items in a list that occur before a date

I have a list of dates that happen throughout 2013. I wish to construct a graph showing a cumulative total of elements that happen before that date. I have a working algorithm, but it seems too slow ...
7
votes
1answer
626 views

Plot cross sections of a function

I have been learning how to use Mathematica for the past few weeks, and recently I have been trying to recreate something along the lines of this. Given a function, I want to create a 3d plot of ...
0
votes
1answer
264 views

Make Mathematica wait before replacing?

How can I force Mathematica to completely evaluate a subexpression before using a replacement rule? For example, consider the following definition (for the series of ...
0
votes
0answers
77 views

How to get a more traditional-looking for protected constants [duplicate]

Is there any solution to make rule to export as a traditional form protected constants. Here is example which doesn't work. ...
4
votes
0answers
87 views

Using Resolve and ForAll to prove takes a really long time

I've been trying to prove a lemma for my paper using Mathematica... basically that $$\forall \{n, d_i, d_j\} \in \mathbb{Z},\ n \ge d_i > d_j \ge 2$$ it's true that $$V[1, n, d_i-1, d_j-1] ...
6
votes
1answer
131 views

Different actions with dragging and clicking points in same graphic

On a graphic (in this example a simple plot), I need two points to move when I drag with the mouse, and these points must move to location {1,1} when I click on them. This is how I got it to work, ...
4
votes
1answer
282 views

Where is the “Insert > Citation> Bibliographical Reference” Command?

I don't have the command for inserting citations described in the documentation: "Insert > Citation> Bibliographical Reference" is not present in my menus: That's the entire contents of my ...
0
votes
0answers
47 views

Inverting a matrix [duplicate]

Possible Duplicate: Why does MatrixForm affect calculations? I am facing a strange behaviour from Mathematica when asking it to invert the following matrix: ...
0
votes
0answers
72 views

Finding real and imaginary parts [duplicate]

Possible Duplicate: Extract real part of a complex expression better than Re does I have an expression and I would like to find its real and imaginary parts. As a simplification, suppose ...
10
votes
2answers
235 views

MathLink C API: sending a List[] of so far unknown length

I would like to send a set of Mathematica expressions (i.e. not simple types that are easy to represent and temporarily store in C) in a List using the MathLink C ...
1
vote
1answer
223 views

How to calculate an integral of an expression that is determined numerically (in Mathematica)?

First of all, I am fairly new to Mathematica and Stackoverflow, so please feel free to give me any advice whatsoever. I aim to calculate an integral of an expression that has been determined ...
6
votes
2answers
359 views

Are plotting markers with inscribed letters possible?

I have large data consisting of values obtained by sweeping across three parameters (e, w, and f). I want to plot all this data on one graph using different shapes for e (e.g., circle, triangle, ...
8
votes
3answers
482 views

How do I make Reduce yield all solutions explicitly?

Say I want to do the following: Reduce[ x+y+z==1, {x,y,z}, Modulus -> 7 ] then I get a solution with parameters, C[1] : ...
1
vote
1answer
338 views

Why doesn't my Manipulate work?

I am new to Mathematica and reading my way through a few books. Playing around with Manipulate and I noticed the following does not work: ...
0
votes
1answer
148 views

CDF player Inputfield list

I want to work with lists within the CDF player. A very simple example, which works inside a notebook is ...
8
votes
2answers
238 views

Tally repeated evaluation of function

How can I tally the result of repeated evaluation of a function? n=100000; f[]:=RandomInteger[{1, 4}] Tally@Table[f[], {n}] When ...
6
votes
2answers
357 views

BoxWhiskerChart with logarithmic axes

I would like to make a following chart Ideally I would also like to control the boxes position on a logarithmic x-axis. Some inspiration how to do the latter may be found in the answer to my ...
0
votes
1answer
997 views

Given x[u,v], y[u,v], and f[x,y] how do I find D[f,x] in terms of u,v?

I have two functions x = x(u,v) and y = y(u,v). The chain rule says that for a function f(x,y), df/dx = df/du du/dx + df/dv dv/dx, and similarly df/dy = df/du du/dy + df/dv dv/dy. How do I get ...
5
votes
1answer
129 views

How do I avoid the gaps introduced by a frame on a plot?

You can see that there are gaps on all sides of the plot between the frame and the extent of the line that I've plotted. How do I get rid of these? I'd like the frame to cover $[0,1]\times[0,1]$ and ...
2
votes
1answer
152 views

How can I get the general term of this recurrence equations?

Following is the recurrence relation: a[1] = 1; a[n_] := a[n - a[n - 1]] + 1 Array[a, 28] I tried to use RSolve, but it ...
6
votes
1answer
301 views

How can I define a function that can accumulate its parameter?

For example, write a function add: add[3] return 3 add[4] return 7 add[10] return 17
0
votes
0answers
179 views

How to display detailed output in Mathematica [duplicate]

Possible Duplicate: Get a “step by step” evaluation in Mathematica How does Mathematica integrate? I want to display more detailed output from a calculation. The default command for ...
2
votes
1answer
220 views

Using NDSolve solution as initial condition for another NDSolve

I have solved a PDE numerically using NDSolve, and I now need to be able to use that solution as an initial condition for another ...
3
votes
2answers
557 views

why I can't define a commutator operator in this way?

I am trying to define some operators I used frequently.For example, I defined a KroneckerProduct operator as $ \otimes $ as follows: a_$ \otimes $b_:=a.b-b.a and this works fine. Then I want to ...

15 30 50 per page