Questions tagged [mathematica]
For questions concerning the popular computational software program published by Wolfram Research. (Note: you are more likely to get quicker and more accurate response if you ask the question on their user forum or on the Mathematica Stack Exchange site.)
722
questions
4
votes
1
answer
6k
views
Tupper's self-referential formula with Mathematica
When trying to reproduce the plot of Tupper's self-referential formula (original paper is available here) with Mathematica I have faced unexpected difficulties.
First of all, the algorithm does not ...
1
vote
2
answers
593
views
Exporting a matrix in Mathematica in curly brackets format
I am trying to export a matrix in a file using Mathematica.
I get the matrix and then use
Export["myfile.dat", MyMatrix, "???Format???"]
There are many formats. ...
1
vote
2
answers
3k
views
How to solve transcendental equations with Mathematica 7?
I want to solve transcendental equations by Mathematica 7. Solve does not help me, reduce - as well. Seams that I shoulkd use FindRoot, but it does not give all solutions. It gives only one solution. ...
3
votes
2
answers
3k
views
Calculate distance between two points N,W,E,S
Ok so i am stuck at this:
I need to calculate distance between $2$ points...
For example:
I have $30\times 30$ square and point$1$ is at $X4,Y5$ and point$2$ is at $X30,Y23$ now I need to get the ...
8
votes
4
answers
3k
views
Fast method for Nth Squarefree number (using mathematica)
I am trying to compute Nth Squarefree numbers using Mathematica. What I am trying to utilize is the SquareFreeQ[i] function.
Here is my solution :
...
0
votes
2
answers
138
views
Series calculation
I have some random integers separated by space read from a text file like
99 20 30 1 100 400 5 10
I have to find a sum from any combination of these integers ...
10
votes
3
answers
1k
views
Proof and software
How well accepted are proofs where critical parts depend on software of which we have no access to the source, e.g Mathematica, Maple?
More generally how much can we take on faith with regards to ...
21
votes
2
answers
9k
views
Traditional axes in 3d Mathematica plots?
Is there any way to tell Mathematica 7 to use "traditional" axes rather than boxing a three-dimensional graph? That is, rather than the default view produced by
...
4
votes
1
answer
507
views
Listing permutations distinct under given symmetry in Mathematica
cross-post from stack overflow
I have a list of numbers like {2,1,1,0} and I'd like to list all permutations of that list that are not equivalent under given symmetry group. So for instance if it was ...
1
vote
1
answer
2k
views
Help with the Neumann boundary conditions
The Mathematica code is here.
Consider the heat conduction problem with Neumann (constant flux) at both boundaries of a solid slab. A constant radiant heat flux is imposed on one surface (derivative =...
14
votes
9
answers
28k
views
Drawing heart in mathematica
It's not really a typical math question. Today, while studying graphs, I suddenly got inquisitive about whether there exists a function that could possibly draw a heart-shaped graph. Out of sheer ...
2
votes
2
answers
1k
views
Comparing integral resolutions using Wolfram Alpha / Mathematica
Equations are in $\LaTeX$ format; I'm still trying to understand how MathJax works.
Given the following integral:
$\int_0^{+\infty } \frac{1}{x \sqrt{x}} \, dx$
I'm pretty sure that does not ...
1
vote
1
answer
248
views
Families of graphs with treewidth k
What are some families of graphs with known tree width k?
For instance, for tree k=1, for cycle k=2, for series-parallel graph which is not a tree k=2, what are some other examples?
I'm looking for ...
4
votes
2
answers
1k
views
Calculating determinant from LUDecomposition
As far as i know LU decomposition allow you to calculate matrix determinant following easy and cheap formula: Det[A] = Det[L] Det[U] = Det[U]
Trying this out in Mathematica 7 gives me correct result ...
2
votes
1
answer
1k
views
Recovering the probability mass function from the characteristic function of a discrete probability distribution using Mathematica
I would like to recover the probability mass function (pmf) from the characteristic function (CF) of a discrete probability distribution using Mathematica.
Ideally, I'd like to do calculations like ...