Skip to main content

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.)

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 ...
Alexey Popkov's user avatar
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. ...
Andry's user avatar
  • 1,033
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. ...
Narek's user avatar
  • 135
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 ...
FeRtoll's user avatar
  • 133
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 : ...
Quixotic's user avatar
  • 22.5k
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 ...
user avatar
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 ...
John Smith's user avatar
  • 2,280
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 ...
JRG's user avatar
  • 784
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 ...
Yaroslav Bulatov's user avatar
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 =...
user avatar
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 ...
Quixotic's user avatar
  • 22.5k
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 ...
Markust's user avatar
  • 123
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 ...
Yaroslav Bulatov's user avatar
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 ...
mth's user avatar
  • 143
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 ...
user avatar

15 30 50 per page