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

714 questions
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
8
votes
4 answers

How to tell Mathematica about a constant?

Sometimes I want to ask mathematica to plot or calculate something without given a certain value for it .. For example I may want to ask mathematica to integrate $\int{a x} \mathrm{d}x$! How to tell him that $a$ is a constant?
8
votes
3 answers

Local variables when defining function in Mathematica

I defined a function in Mathematica. It is a function of n, so f[n_]:=, but in the definition, I used a sum, $\sum_{k=0}^n$. So, the $k$ is just an index variable for the sum and no $k$ shows up in the final answer. As I was using this function I…
GeoffDS
  • 11,270
8
votes
1 answer

What kinds of symbolic calculation problems do humans solve easily that Mathematica can't?

Are there symbolic calculation problems that humans have no trouble with that Mathematica can't solve or can't solve as well as humans? I'm keeping the question focused on symbolic calculations because that's a type of problem that Mathematica…
Sol
  • 726
6
votes
0 answers

Algorithm for FindSequenceFunction

What algorithm might Mathematica be using to compute FindSequenceFunction? Does anybody know if there is any online material on this topic?
Tavasanis
  • 328
5
votes
4 answers

Copy LaTex equations from Mathematica to Word directly?

Is it possible to use command copy as latex equations directly from mathematica file and paste in Word equation editor 2007/2010. Not to save like .pdf or .jpg! Alternative for web2tex or just this? Regards!
George
  • 225
4
votes
1 answer

Solve a function with sum in Mathematica?

I want to solve an equation with sum in Mathematica, e.g., $$\sum _i \frac{a_i}{x}=1$$ But when I input this: Solve[Sum[Subscript[a, i]/x, i] == 1, x] Mathematica will tell me: Solve::nsmet : This system cannot be solved with the methods available…
Ivan Xiao
  • 141
4
votes
1 answer

Why does (Full)Simplify return terms with $0^n$ coefficients?

When I use Simplify[] or FullSimplify[], specifying domain reals, I get terms with $0^n$ as the coefficient. Isn't that always zero, and thus be simplified out? A example of input/output is below, with the expressions truncated/replaced since they…
OctaviaQ
  • 1,059
4
votes
1 answer

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 give the image shown and I was forced to find the…
3
votes
2 answers

What does Mathematica do that Wolfram Alpha can't?

It isn't clear to me what Mathematica does that Wolfram Alpha can't do. (Obviously I have never used Mathematica.) Here (http://www.wolframalpha.com/faqs4.html) it says that Wolfram Alpha "has access to all of Mathematica's algorithms, which…
Jacob Turley
  • 101
  • 1
  • 4
3
votes
3 answers

Mathematica's "Solve" and filtering out the one real (non-complex) solution

I have some functionals that have lots of parameters, but all are volume integrals (not really important...) It's a variational function I'm minimizing and I'm only keeping the real solution (because it's my variational wavefunction and I demand…
rubenvb
  • 599
3
votes
2 answers

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 shortest distance from point$1$ to point$2$. By wich…
FeRtoll
  • 133
2
votes
1 answer

contour plot using Mathematica

I want do a contour plot in Mathematica as: ContourPlot[{Re[F[5/4, x + I y]] == 0, Im[F[5/4, x + I y]] == 0}, {x, -20, 20}, {y, -20, 20}, PlotPoints -> 100]; where function F[b,z] is defined as: F[b_,z_]:=(2*((b - I*z)/E^(2*Ibz) + E^(2*Ibz)(b +…
mike
  • 5,604
2
votes
0 answers

Calculate periodicity in 1-dimensional array with noise

I have a 1-dimensional array with some integers, which are periodically increasing. Something like this (1 period here): {1, 2, 1, 1, 3, 6, 8, 5, 5, 3, 1, 2, 2, 1, 1, 2, 1, 3, 5, 7, 7, 6, 3, 2, 1} There can be any number of periods, usually 2 in…
Nakilon
  • 181
2
votes
2 answers

help with old Mathematica file

I am trying to solve a problem, for what I finally found a book what has some Mathematica files supplied, but I am stuck now as I cannot run the files. My problem is that I cannot run the program as it is written in Mathematica 3.0 and I don't know…
hyperknot
  • 905
1
2 3 4 5