What is Mathematica: Definition and 1000 Discussions

Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow symbolic computation, manipulating matrices, plotting functions and various types of data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other programming languages. It was conceived by Stephen Wolfram and is developed by Wolfram Research of Champaign, Illinois. The Wolfram Language is the programming language used in Mathematica.

View More On Wikipedia.org
  1. S

    Mathematica How to compute the Riemann tensor using RGTC mathematica?

    I am trying to learn RGTC. It gives value of particular Riemann tensor but not all of it. What should I do?
  2. I

    Mathematica Part of complex plot disappears [mathematica]

    I have a very large expression: j - Sqrt[q^2 + qp^2 - 2 q qp Cos[\[Theta]]] - \[Sqrt](qp^2 + 1/2 (16 m5^2 + ma^2 + mp^2 - Sqrt[(-(16 m5^2) - ma^2 - mp^2)^2 - 4 (ma^2 mp^2 - 16 m5^2 qp^2)])) == 0 where \[Theta] = Pi/6; ma = 980; mp = 139; j...
  3. F

    Mathematica Plotting with base 10 as the interval

    I want to plot a function f(x) such that it's domain is from 1 to 10000 but I want the graph to read 1, 10, 100, 1000, 10000 in the x-axis, while the y-axis is normal. ##f(x) = 2\sin^{-1} ( e^{-\frac{60}{x}})##
  4. Mr Davis 97

    Mathematica Solving system of equations Mathematica

    I am solving the following system of equations (in matrix form): ##\begin{pmatrix} 1 & -2 & -1 & 1 \\ 2 & -3 & 1 & 6 \\ 3 & -5 & 0 & 7 \\ 1 & 0 & 5 & 9 \end{pmatrix}## I want to solve it using Mathematica, but when I use the command LinearSolve[], I only get back ##\begin{pmatrix} 9 \\ 4 \\ 0...
  5. Mr Davis 97

    How to Graph the Intersection of Two Planes in 3D Coordinates using Mathematica?

    I have a simple Mathematica question, and I am not sure where to post it, so I'll just try to post it here. I am trying to graph the intersection of the planes y=3 and z=5 in 3D coordinates, but am not sure how.
  6. S

    I How Can I Graph Hubble Term vs. Inflaton Using Mathematica?

    From cosmology, ##H^2 = \frac{ρ}{3M_p^2} = \frac{1}{3M_p^2}(½\dot φ^2 + ½m^2φ^2)## Suppose ##V(φ) = ½m^2φ^2## where ##ρ## = density ##M_p## = Planck mass I want to graph ##H## vs. ##φ## but there is a ##\dot φ## and I know this is a differential equation, can somebody help me what to do here?
  7. C

    Philosophiæ Naturalis Principia Mathematica

    Is there an original manuscript available? The first published edition is available online.
  8. A

    "Mathematica" code for the "+" option.

    Sometimes I include Mathematica code. Is is possible to include this option when including code in the thread for the language option? For example, would be nice to have a heading as "Mathematica" in the following code insert rather than "text": my mathematica code
  9. S

    Mathematica Numerical Simulations with Mathematica: A Beginner's Guide

    I'm very new to Mathematica/programming and I want to do a theoretical calculation using Mathematica, suppose I have, ##Y=CX,~~~C=constant## Now, I want to plot Y vs. X but X should run at every point since every point is a solution for Y, how should I do this? Before, I was thinking maybe I...
  10. ShadowMeson

    Declare a Commutation Relationship in FeynCalc

    Homework Statement I am a rookie to the QFT extension in Mathematica called FeynCalc, and tried to use that into solving some quiz. Soon I met a problem upon some condition presented in a problem which declares an relation of two same tensor with different indices results in some value when...
  11. Stella.Physics

    Mathematica Graph Plotting Problem in Mathematica

    Hello to all. I've been trying to plot some graphs on Mathematica but I have faced some troubles so far. I am working on this paper by Lattimer on binary systems: https://arxiv.org/abs/astro-ph/0002203 I am trying to reproduce Figure 11 but something seems to go wrong. Here's what I have...
  12. B

    How many shuffles are needed for a 50% probability of matching a deck of cards?

    Homework Statement The problem I'm having involves looking for a specific formula for the probability of matching a deck of playing cards via the result of a shuffle. I want to know how many times I must shuffle for the probability of the shuffle matching one of the past resulting decks to be...
  13. defaultusername

    Curvature using Mathematica

    Homework Statement Use Mathematica to calculate the Gaussian curvature of the plane Ax+By+Cz=D, in which A, B, C, and D are constants and C≠0. Use the following data: Homework Equations The Attempt at a Solution First I found the line curvature. As here: That code gets the result = 0...
  14. GW150914

    Why wouldn't astronomers use Mathematica?

    Mathematica is fully functional for daily astronomy data analyzing works, and it is much more convenient than python, so why can't them use Mathematica instead of python? It's like when you have warp drive you still travel through space using chemically powered traditional rockets, which is...
  15. blintaro

    Mathematica Verifying PDE solutions using Mathematica

    Hello physicists, Pretty new to Mathematica here. I'm looking to verify that $$P(s,\tilde{t}|_{s_0}) = 2\tilde{b}_{\rho} \frac{s^{\alpha+1}}{\check{s_0}^{\alpha}}I_{\alpha}(2\tilde{b}_{\rho}s\check{s}_0)exp[-\tilde{b}_{\rho}(s^2+\check{s_0}^2)]$$ Is a solution to...
  16. C

    Mathematica Trying to define a integrating function in Mathematica

    I need to define a function that integrates a function in some interval and returns its numerical value. I am not allowed to use built in functions for integrating in Mathematica. This is my code that won't work: http://pokit.org/get/?93856fe8f2070ba781028f8634b9ac3a.jpg This is a code from a...
  17. N

    Mathematica How to remove I.0 from output?

    As I found on many websites, they suggest to use Chop[]. I tried that already but it doesn't work. This is my output. {{2 (Conjugate[ I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[ 2]) (I.0 + Subscript[v, 1]/Sqrt[2])) Subscript[\[Lambda], 1] (Conjugate[I.0]...
  18. X

    Mathematica Best Mathematica Tensor/General Relativity Package?

    Hello can anyone recommend me a good mathematics package for solving the Einstein Field equations. You know one that can easily compute covariant derivatives and calculate the Reinman curvature tensor and can also minimize the Einstien Hilbert Action?
  19. E

    Mathematica Numerical vs. Monte-Carlo Simulations

    I have an integration that doesn't have a solution in the table of integrals. So, I evaluated it using Mathematica using the command NIntegrate. However, when I compare the result with Monte-Carlo simulations, there is a very small constant gap between the two curves. Is it because of the...
  20. E

    Mathematica Solving Mathematica Error: NIntegrate::ncvb

    Hello, I have the following code in Mathematica, and it gives the following error: NIntegrate::ncvb: NIntegrate failed to converge to prescribed accuracy after 12 recursive bisections in x near {x} = {0.000156769}. NIntegrate obtained 0.21447008480474927` and 5.637666621985554`*^-13 for the...
  21. R

    Wolfram Mathematica demonstrations programming book

    I am currently a complete beginner to Mathematica (in fact, to programming in general) I have done adequate research about books for general books on Mathematica, but I would like to find a book that focuses mostly on graphics, animations, demonstrating physics and the like. For example, while...
  22. S

    Solving a large system of PDEs in Mathematica

    Homework Statement Imagine a chain with ##n## links across a river. Now imagine, the chain is in a straight horizontal line at time ##t=0##. The problem wants me to calculate the movement of the chain links (center of mass) due to the gravity field. There are other forces in the system but this...
  23. S

    Mathematica Mathematica does not display real solutions?

    Hello! I let Mathematica run the following command: Solve[16 x^4 - 40 a x^3 + (15 a^2 + 24 b) x^2 - 18 a b x + 3 b^2 == 0 && 5 a x - 4 x^2 - b > 0 && 15 a x - 20 x^2 - 3 b < 0 && 4 x^3 - 8 c x^2 + 5 a c x - c b < 0 && a < 0 && x < 0 && c < 0, x] It displays a solutions in function of Roots...
  24. J

    Mathematica Which font does mathematica use?

    Hey, I have this problem where mathematica doesn't show certain symbols (greek letters for example). In my current working document I have introduced other symbols but in the end it'll become a mess because several variables show up with similar names. When I export as pdf it does show the...
  25. C

    One dimensional integration that Mathematica cannot do

    I want to evaluate $$\int_{a+b-c}^s\,\text{d}x\, \frac{(-x+ab/c)^{\epsilon}}{(x+c-a-b)^{\epsilon+1} (a-x)},$$ where ##a,b,c,\epsilon## are numbers, and to be treated as constants in the integration. I put this into mathematica and an hour later it is still attempting to evaluate it so I aborted...
  26. Asad Albostami

    Mathematica Mathematica: ill-conditioned linear system

    Hi all, I have problem with regard to ill-conditioned linear system of solving sets of simultaneous equations using Mathematica program. I have tried my best to find a way to solve this but none was successful. I got results from m =1 and n =1 until m = 7 and n = 7, i,e. the systems are...
  27. S

    System of equations with Mathematica

    Hello! I'm currently working with Maple but I do not really like the program. Is there someone with Mathematica who can run this system? $$\left \{ \begin{array}{ll} 16x^4-40ax^3+(15a^2+24b)x^2-18abx+3b^2 = 0 \\ 4x^4+5a s \sqrt{v} x^2 - 8 s \sqrt{v} x^3 - b s \sqrt{v} x > 0 \end{array}...
  28. E

    Mathematica Fixing Error in Tag Times: Get Quick Solutions!

    Hey, I'm unsure why the following returns an error: Any ideas on how to fix this?
  29. Mr. Rho

    Mathematica Rotation of 3D Plot using Euler angles

    So, I'm trying to plot a 3D "dipole" (an arrow with a small torus around it basically) in mathematica, and want to rotate it according to Euler angles... I use this code for the rotation matrix: rot[a, b, g] := RotationMatrix[g, {1, 0, 0}].RotationMatrix[b, {0, 1, 0}].RotationMatrix[a, {0, 0...
  30. K

    Mathematica FindMaximum function in Mathematica

    I recently plotted a piecewise function: Plot[Piecewise[{{1 - Exp[-.002*t], 0 <= t < 120}, {-Exp[-.002*t] + Exp[-.002*(t - 120)], 120 <= t}}], {t, 0, 5000}, PlotRange -> {0, 0.25}] I then defined the function which I am calling q[t_] as follows: q[t_] := Piecewise[{{1 -...
  31. K

    Mathematica Troubleshooting Mathematica Plotting Problem

    Homework Statement I've entered the following piecewise equation into Mathematica: Plot[Piecewise[{{sin (t), 0 <= t < \[Pi]}, {5 + 5 cos (t) + sin (t), \[Pi] <= t < 4*\[Pi]}, {10 cos (t) + sin (t), 4*\[Pi] <= t}}], {t, 0, 20*\[Pi]}] But I am getting a blank graph in return. I've proofread my...
  32. Clarence Liu

    Using Mathematica to solve for Jacobi Identity

    Hi everyone, I'm new to Physics Forums and to Mathematica, as well as Jacobi Identity. In any case, I was wondering on how I may use Mathematica to solve various Quantum Mechanics related problems through commutators. Like if it's possible to find out what is the form of a particular commutator...
  33. A

    Newton's "Principia Mathematica": Understanding the Hard Parts

    I've been trying to read Newton's Principia Mathematica, sth I've always wanted to do since college. i'm familiar with the physics concepts and necessary mathematics involved, but often I found it's very hard to read the book, sometimes to the point that I'm totally lost as what Newton's...
  34. xwolfhunter

    The Logic of the Principia Mathematica

    I had posted a question in the mathematics forum about some conceptual issues I was encountering while reading the book, but now I realize as I read on that I may need a dedicated thread for asking questions about the book. So I am asking two things in this thread. Firstly, I am asking someone...
  35. xwolfhunter

    Parsing the Principia Mathematica

    I know that this book is both fundamentally flawed and an extremely important book. I got it for Christmas, and I kind of view it like a whetstone for my mind. I'm taking my time and I won't turn the page unless I understand everything beforehand. I've been on the same page for a little bit...
  36. Q

    Mathematica Is there any way to improve my skills with Mathematica software

    Hi I am new at the mathematica software i would like to find way to improve my skils
  37. K

    Mathematica Difficulty in solving an integral in Mathematica

    Hello, I have to solve the following integral in Mathematica but although I don't get any mistakes the value I get is <10^-700 which can't be right! For the following values b=0.052868 c=0.998047 g=0.00762712 s=0.902416 I have to solve the following: Fx =...
  38. piJohn1411

    Mathematica Is it possible to colour the rows or columns of a matrix?

    Hi, I was wondering if it's possible to colour the rows and columns of a matrix in mathematica. I have received help from another forum and the code of my matrix is the following: Rasterize@ Style[MatrixForm[{{n, -1 + n, -2 + n, \[CenterEllipsis], 1}, {2 n, 2 n - 1, 2 n - 2...
  39. Q

    Finding a unitary transformation between two quantum states.

    I have to find a unitary transformation that takes me from one quantum state to another (or if there is such a transformation), given the two quantum states in matrix form. The matrices are huge (smallest is 16x16) , so doing it on paper is not an option. Does anyone know how I can do this in...
  40. O

    Using Mathematica vs pen and paper in Physics

    Hi! I'd like to discuss your experiences with pen and paper vs software. Especially young people are welcome to join the discussion :) I'm wondering if there are people who do *most* of the symbolic calculations on a computer. I am very familiar with pen and paper and I've been wondering...
  41. J

    Mathematica: Animate multiple sets of XY data

    I have nine sets of data with x,y coords that are the position of a particle. I can ListPlot the particle positions on a single plot, but, I want to animate this. ListPlot[{mydata1, mydata2, mydata3, mydata4, mydata5, mydata6, mydata7, mydata8, mydata9}, PlotRange -> {{-1, 20}, {-1, 20}}] I...
  42. Lagraaaange

    How did you learn to program? (C++, Mathematica, etc)?

    Did you guys self study or take a class?
  43. Lagraaaange

    Is taking an entire class on Mathematica worth it?

    How well do you need to know it if you're a grad student? Isn't it nothing more than an "calculator" in that you don't "make" anything, just use it to solve integrals and such? Edify me.
  44. T

    Do I need Mathematica or a CAS graphing calculator?

    Hello Everyone. I'm returning to college to earn a degree in physics 15 years after getting a BA in English. I took calculus almost 20 years ago and used a Ti 85. I've noticed that some graphing calculators have CAS integrated, which I've never used, and I'm keen to get one for my physics and...
  45. G

    Mathematica Kaluza-Klein Reduction Via Mathematica

    Does any know how to perform Kaluza-Klein reduction via mathematica? The task becomes very tedious if the job is done manually when successive reductions are done.
  46. K

    Mathematica Mathematica: How to use two x-axis with different units?

    Hello, I've collected data with pairs of { resolution, filesize in bit }. Now I would like to use a ListPlot to visualize the data in mathematica. My problem is now showing the x-asis two times. One for the filesize in bit (above) and the other for the filesize in KiB (below). ListPlot[...
  47. P

    Obtain the magnetic field from this experimental setup?

    Homework Statement Hi all, I would appreciate some help with the following problem; I need to obtain and visualize the current flow and magnetic field profile of an elliptic cylinder (made from ferromagnetic material) which has a left section set at 0 volts and a right section set at 5 volts...
  48. V

    Mathematica Mathematica NDSolve different solutions same eq's

    Hello, I have peculiar trouble with mathematica. I'm playing with lagrangians of some systems and I hit on "central problem". If I use my procedure in mathematica it solve 2 eq. of second order. But if you solve it by hand, you know, ##\phi## coord is "cyclic". And second eq. is reduced to ##...
  49. C

    Convergence of a hypergeometric

    The hypergeometric function, ##{}_{2}F_1(a,b,c;z)## can be written in terms of a power series in ##z## as follows, $${}_{2}F_1(a,b,c;z) = \sum_{n=0}^{\infty} \frac{(a)_n (b)_n}{(c)_n} \frac{z^n}{n!}\,\,\,\,\,\text{provided}\,\,\,\,|z|<1$$ So we may reexpress any hypergeometric function as a...
Back
Top