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

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

652 questions
51
votes
1 answer

Is Sage on the same level as Mathematica or Matlab for graph theory and graph visualization?

The context: I'm going to start working on a project that involves running predefined algorithms (and defining my own) for very big graphs (thousands of nodes). Visualization would also be welcome if possible. This is a research project and the goal…
39
votes
3 answers

Do we really know the reliability of PrimeQ[n] (for $n>10^{16}$)?

The algorithm Mathematica uses for its PrimeQ function is described on MathWorld. That web page says PrimeQ uses, "the multiple Rabin-Miller test in bases 2 and 3 combined with a Lucas pseudoprime test." It also says, "As of 1997, this procedure…
Ted Ersek
  • 1,195
  • 7
  • 14
26
votes
8 answers

LaTeX/TeX Vs. Mathematica for Typesetting

I know Mathematica like the back of my hand, but I do not know a speck of $\LaTeX$ or $\TeX$. With regard to mathematical typesetting, is there something significant I can do in $\LaTeX$/$\TeX$ that I can't do in Mathematica? The Mathematica…
26
votes
1 answer

The positive root of the transcendental equation $\ln x-\sqrt{x-1}+1=0$

I numerically solved the transcendental equation $$\ln x-\sqrt{x-1}+1=0$$ and obtained an approximate value of its positive real root $$x \approx 14.498719188878466465738532142574796767250306535...$$ I wonder if it is possible to express the exact…
19
votes
2 answers

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 Plot3D[Exp[-x^2 - y^2], {x, -2, 2}, {y, -2, 2},Boxed->False], I would like three "axis…
JRG
  • 744
  • 5
  • 13
18
votes
2 answers

Determine if $x^3+y^3+z^3+t^3 = 10^{2021}$ has a solution

I want to know if the equation $x^3+y^3+z^3+t^3=10^{2021}$ has distinct positive integer solutions PowersRepresentations[10^2021, 4, 3] return PowersRepresentations::ovfl: Overflow occurred in computation. FindInstance[{x^3 + y^3 + z^3 + t^3 ==…
expression
  • 331
  • 1
  • 5
15
votes
4 answers

How do I convert the distance between two lat/long points into feet/meters?

I've been reading around the net and everything I find is really confusing. I just need a formula that will get me 95% there. I have a tool that outputs the distance between two lat/long points. Point 1: 32.773178, -79.920094 Point 2:…
Micah
  • 251
  • 1
  • 2
  • 6
14
votes
2 answers

How to plot vectors in Mathematica

I am trying to plot vectors in mathematica, some 2d and some 3d. Is there a way to do this? I Need the coordinate axes and an arrow head on a line basically. Thanks, Blake
TechplexEngineer
  • 295
  • 1
  • 3
  • 6
14
votes
9 answers

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 curiosity, I clicked on Google, which took me to this…
Quixotic
  • 21,425
  • 30
  • 121
  • 207
13
votes
2 answers

Exploring Mathematica as a High School Student

I am a high school student and I am receiving a free one-year subscription for Wolfram Mathematica as a prize from USAMTS. How can I make the most of this one year with software that I have heard is very powerful but have never used before? Here are…
13
votes
2 answers

Twilight Zelda Guardian Puzzle : Shortest Path (UPDATE: ADDED RULES)

I'm playing a video game right now and in it is a puzzle (see here). There are solutions to solving it (see here) on the Internet, but I'd like to know if this path is the shortest path (least amount of moves) possible to solve the puzzle. The rules…
Liz Wesley
  • 141
  • 4
11
votes
4 answers

A limit question (JEE $2014$)

The following is a JEE (A national level entrance test) question: Find the largest value of the non-negative integer ( a ) for which: $$ \displaystyle \lim_{x \to 1} \left( \dfrac{-ax + \sin(x-1) + a} { x + \sin(x-1) -1 }…
Parth Thakkar
  • 4,244
  • 3
  • 29
  • 47
11
votes
1 answer

Fractional oblongs in unit square via the Paulhus packing technique

Oblongs of size $ \frac{1}{1} \times \frac{1}{2}$, $ \frac{1}{2} \times \frac{1}{3}$, $ \frac{1}{3} \times \frac{1}{4}$, $ \frac{1}{4} \times \frac{1}{5}$, ... have a total area of 1. $\sum\limits_{a=1}^\infty \frac{1}{a (a+1)} =1$ I believe it's…
10
votes
2 answers

How can I calculate the centroid of polygon?

What is the way to calculate the centroid of polygon? I have a concave polygon of 16 points, and I want know the centroid of that. thanks
Csabi
  • 235
  • 1
  • 2
  • 7
10
votes
5 answers

Finding good approximation for $x^{1/2.4}$

I would like to a good (8 bits accuracy) approximation for $x^{1/2.4}$ in the range $[0, 1]$. This transform is used for converting linear intensities to SRGB compressed values, so it's important that I make it run fast. Plot of function: Using a…
1
2 3
43 44