Mathematica Definition and 1000 Threads

  1. C

    Philosophiæ Naturalis Principia Mathematica

    Is there an original manuscript available? The first published edition is available online.
  2. 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
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. N

    Mathematica Why Doesn't Chop[] Remove I.0 from the 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]...
  11. 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?
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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}...
  21. 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?
  22. 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...
  23. 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 -...
  24. 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...
  25. 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...
  26. 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...
  27. 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...
  28. 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...
  29. 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
  30. 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 =...
  31. 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...
  32. 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...
  33. 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...
  34. Lagraaaange

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

    Did you guys self study or take a class?
  35. 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.
  36. Lagraaaange

    MATLAB C++ vs Python vs Mathematica vs Matlab? Whats the difference

    What are the differences and pros/cons of each?
  37. 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...
  38. 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[...
  39. 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 ##...
  40. C

    Is the Expansion of Hypergeometric Function Valid for Any |z|?

    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...
  41. N

    Mathematica Plotting Graphene in Mathematica

    I am encountering an issue when I plot attempting to plot 3d band structure of graphene in Mathematica. While the general shape and curvature looks fine, the cones at the K-points are not touching, which is an important qualitative electronic property of graphene. Since further down the line I...
  42. S

    Wolfram Mathematica: ListPlot3D to SphericalPlot3D

    Hello! There is a problem with Mathematica: i calculate an integral with a help of NIntegrate and get the whole list of spherical coordinates, like {6.24, 3.14, 0.323488}, {6.26, 3.14, 0.323488}, {6.28, 3.14, 0.323488} and so on... then i create a list, like data = List[{6.24, 3.14, 0.323488}...
  43. A

    Searching for Symmetries in PDEs with Mathematica(c)

    Hello, I have a problem in the search for symmetries in pde. I would use Mathematica(c), does anyone know how to set up the code to obtain generators and then symmetries? Thanks for all.
  44. B

    Mathematica Plotting A Set of Points in Mathematica

    A have the set consisting of the complex numbers ##1 + 3r \cos \theta - i r \sin \theta##, where ## r \in [0,1]## and ##\theta## may vary between ##0## and ##2 \pi##. This is my first encounter with mathematica, and am having difficulty discerning between the methods I have found online which...
  45. M

    Mathematica Why is Mathematica struggling to solve this ODE with a known analytic solution?

    Hi PF! I am wondering if any of you can explain why Mathematica won't solve this ODE? I know an analytic solution exists (it's quadratic). Any help is greatly appreciated! $f0[x]$ is the name of the function. a = -1/5; DSolve[{-((2 a f0[x])/(1 + a)) + x f0'[x] + 2 (f0'[x])^2 + f0[x]...
  46. Futurestar33

    MATLAB What is program is better mathematica or matlab?

    If you are a professor is it better to use Mathematica or Matlab when it comes to publishing papers, which program creates the best graphs. I have origin as well.
  47. Hepth

    Mathematica [Mathematica] : Method to import C-Code to Expressions

    I have some ugly c-code that was generated from Mathematica in years past with CForm, and looks like : (PolyLog (2,(-1 + t)*pow (-1 + q2h,-1))*pow (q2h - t,-1)*pow (-1 + \ t,-1)* (-8*pow (q2h,3)*pow (t,2) + pow (q2h,4)*(1 + pow (t,2)) - 8*q2h*pow (t,3)*(-3 + 8*t - 5*pow (t,2) +...
  48. A

    Mathematica Mathematica - Countour plot problem

    Hello! I'm trying to plot some eigenfunctions (for a semicircle) in Mathematica. Functions are of the following form: $$g_{ms}=J_{2m+1}(y_{ms}x) sin ((2m+1)\varphi)$$ For example, for m=0 and s=1 it should look like what I drew in the attached file "Snapshot". Well, I don't have much experience...
  49. J

    Mathematica Mathematica: supply list of list to Intersection?

    I notice there are some functions in Mathematica in which you can't supply directly, an array of arguments but rather must give it a list. For example, GCD and LCM. I can use for example, GCD[2,3,8] and it returns 1. However if I code: GCD[{2,3,8}], the function call fails. I know of one way...
  50. J

    Mathematica Mathematica: create b-file for OEIS

    I'd like to save a Mathematica array as a "b-file" so that I can upload it to the on-line encyclopedia of integer sequences. Here's a short version of my array: bData={{2,1},{3,1},{4,1},{5,2},{6,1},{7,2},{8,6},{9,2},{10,2},{11,4}} and the b-file format would be: 2,1 3,1 4,1 5,2 6,1 7,2 8,6...
Back
Top