What is Mathematica: Definition and 998 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. Y

    Mathematica_ table_ integration

    I am calculating the temperature distribution and utilizing the obtained results to calculate the current distribution. In order to do this , I employ a table in which I stock all the current distribution for each value of radius . Subsequently, I aim to identify the radius corresponding to a...
  2. Y

    Trouble with using the command WhenEvent in Mathematica

    Hello, I'm trying to solve a heat differential equation to obtain the temperature distribution as a function of R. Since I have the coefficients of electrical and thermal conductivity that start from the temperature of 6500 K, I want the solution to stop when T reaches 6500. I'm using the...
  3. Y

    Mathematica Mathematica Interpolation function error

    Hello everyone, I am relatively new to Mathematica, and I am encountering an issue when trying to interpolate numerical data imported from an Excel file. Here are the steps I've taken: I imported the numerical data from an Excel file into Mathematica. I attempted to interpolate the data using...
  4. L

    Show that these equations are linearly dependent using Mathematica

    TL;DR Summary: solve linear systems of equations Hi, I am supposed to solve the following problem with Mathematica This is the tutorial we received on how to solve linear systems with Mathematica: I then tried the whole thing for the task, but unfortunately Mathematica doesn't give me any...
  5. T

    MATLAB Matlab's numeric solution to det of Matrix is incorrect

    Hello everyone, I have an equation derived as the det of a matrix, which I have solved in Mathematica 11 with Findroot and verified with the respective PhD Thesis' data. However, I now try to get more accustomed to Matlab (R2017b) and hence I tried to reproduce the problem and find its solution...
  6. L

    Mathematica Problems solving this differential equation for a Pendulum with Mathematica

    Hi, unfortunately, I have problems that Mathematica does not solve the differential equation. The task is as follows and it is about the task c In the Mathematica Notebook, the following was written for task c "You can use the following two lines of code to produce the solutions of the...
  7. L

    Mathematica Matrices in Mathematica -- How to calculate eigenvalues, eigenvectors, determinants and inverses?

    Hi, In my linear algebra homework, there is a bonus assignment where we are supposed to use Mathematica to calculate matrices and their determinants etc. here is the assignment. Unfortunately, I am a complete newbie when it comes to Mathematica, this is the first time I have worked with...
  8. V

    Mathematica Neural networks in Wolfram Mathematica

    Hello, I have a question about the use of functions and overall creation of neural networks in the Wolfram Mathematica (WM) program. I wonder if it is realistic to make meaningful neural networks usable at least partially for scientific research in WM? By scientific research, I do not mean the...
  9. Leo Liu

    Mathematica [Mathematica] How to use for loop to process a list of data

    Hi. I am writing a program in Mathematica that reads a xsl file from excel, then processes it by solving an equation, and lastly turns the processed data into a list for exporting. Context: Finding the maximum speed of a model plane at different altitudes (density). Screenshots of the code and...
  10. H

    Mathematica Find all values of E for a transcendental equation

    Hi, I'm trying to solve a transcendental equation. I would like all the values of E that solve this equation. ##k = -l \cdot Cot(la)## However, using Nsolve or FindRoot, they give me a precision error. Hence, I'm trying this form. ##\sqrt{-e /(e+v)} = -Cot(la)## FindRoot only give me an...
  11. T

    Rederiving Mathematica Result

    Hey all, I am trying to solve the following equation: $$\left(k-i\frac{m_{1}}{v}\right)^{-1}\Bigg(-i\frac{x}{v}-\frac{\sqrt{-x^2+m_{1}^2+k^2v^2}}{v}\Bigg) = \left(k+i\frac{m_{2}}{v}\right)^{-1}\Bigg(i\frac{x}{v}+\frac{\sqrt{-x^2+m_{2}^2+k^2v^2}}{v}\Bigg)$$ for ##x## and we can assume...
  12. K

    Conservation of probability issue when solving ODE in Mathematica

    I am trying to solve this two level (Schrodinger) equation as a function of time:$$i\begin{pmatrix} \dot{x}\\ \dot{y} \end{pmatrix} = \begin{pmatrix} 0 & iW+dE_0sin(\omega t)\\ -iW+dE_0sin(\omega t) & \Delta \end{pmatrix}\begin{pmatrix} x\\ y \end{pmatrix}$$ (I can go into more details about...
  13. A

    Philosophiae Naturalis Principia Mathematica

    Summary: Why did Newton call his book Philosophiae Naturalis Principia Mathematica and not Philosophiae Naturae Principia Mathematica? Why did Newton call his book Philosophiae Naturalis Principia Mathematica and not Philosophiae Naturae Principia Mathematica?
  14. Sciencemaster

    I Calculate Gaussian Curvature from 4D Metric Tensor

    I've been trying to find a way to calculate Gaussian curvature from a 4D metric tensor. I found a program that does this in Mathematica using the Brioschi formula. However, this only seems to work for a 2D metric or formula (I would need to use something with more dimensions). I've found...
  15. Keysa

    How to find the positive maximum value of a function

    This is the code that i wrote Clear["Global`*"] Z = 500; W = 100000; G = 250; H = 100; K = 0.5; T = 30; L = 4000; P = 5; S = 2.5; Y = 1; A = 0.1; V = 2.5; J = 8000; f[x_] := 1/ x {(J*Z*x*(2*Y - x))/( 2*Y) - ((W + T*G) + ((L + T*P)*2*Z*Y*(1 - ((Y - x)/Y)^1.5))/ 3 + (H + T*S +...
  16. T

    Mathematica Mathematica Eigensystem Calculation Taking Too Long

    Hey all, I am currently trying to find the Eigensystem of the following 5x5 matrix in Mathematica. Unfortunately, doing so takes an insanely long time (I cannot even call Eigensystem[p][[1,1]] in a reasonable amount of time). Does anyone have any advice? Also I cannot simply redefine new...
  17. MarkTheQuark

    Mathematica Plotting a parameter Plane of a spring pendulum in Mathematica

    I'm reading an article about the order-chaos-order sequence of a spring pendulum [Ref 1], as I'm reading it I'm trying to reproduce the graphs and results through Mathematica. However, I am new to this software. I will list below some of the most important equations mentioned in the paper. "In...
  18. P

    Mathematica Mathematica - what is wrong with ImplicitRegion[]

    I'm working the integral $$\displaystyle \int_S z\,dS$$ Where S is the lateral (surface) area of the cylinder y^2+z^2=4 cut off by two planes, x=y-3 and x=6-z. Using the parametrization r(x,\theta)=(x,2\cos(\theta), 2\sin(\theta)) this is pretty straight forward $$\int...
  19. alexmurillo242

    Mathematica Piecewise Time-Dependent Hamiltonian in Mathematica Strategy

    Hi all, I'm doing some light simulations for an experiment I'm going to be running soon. I've ran through the math symbolically on paper but I'm not exactly eager for handling this large of matrices by hand so I'm trying to work through it and see if I can generate a simulated signal to compare...
  20. arjit

    Mathematica Simulating the quantum Zeno effect using Mathematica

    I'm trying to simulate the quantum Zeno effect using Mathematica and I need to apply von Neumann and projection operator on to same density matrix and in a loop one by one, it's basically switching between two evolutions in time., so I need help on how to do it.
  21. M

    Mathematica How to simplify expressions in Mathematica with log and exp in them?

    Hi, This is a pretty simple question, but I am new to Mathematica so I am not sure if I am missing something obvious. Question: How do I make the expression ## e^{log(z)} ## return z? Attempt: I have used all of the following combinations and all of them return ## e^{log(z)}##. Are there any...
  22. M

    Import python list from .txt file into Mathematica

    Hi PF! I am trying to import k.txt file into Mathematica as a list of numbers. The k.txt looks like this: [5.315967917338153e-06, -3.204321972222162e-08, 3.6041782425371564e-09, -3.853442465663655e-08, 8.699510604529962e-07, -1.4284341965847237e-08, 2.855341882658808e-09...
  23. M

    Use Python to integrate a function constructed in Mathematica

    Hi PF! I followed someone's help on here and have the following code in python that performs monte carlo integration from math import * from random import * def integrate(alpha): # MONTE CARLO INTEGRATION OVER NON-RECTANGULAR DOMAINS def f(pt): # RETURN INTEGRAND AS FUNCTION...
  24. F

    I Infinite Square Well with an Oscillating Wall (Klein-Gordon Equation)

    I am trying to numerically solve (with Mathematica) a relativistic version of infinite square well with an oscillating wall using Klein-Gordon equation. Firstly, I transform my spatial coordinate ## x \to y = \frac{x}{L[t]} ## to make the wall look static (this transformation is used a lot in...
  25. rudransh verma

    Principia Mathematica by Newton

    I was wondering to read this book to get a better understanding of the classical world. I want to know what things are there that I can learn in this book? Is it worth it? Is it tough? Should I read it or it will be covered in undergraduate and graduate level of physics?
  26. Z

    Mathematica Mathematica bug? (Solving PDEs when the initial conditions contain a derivative)

    hello I own mathematica 10.02 it is virtually impossible to solve PDE's ,even with NDSolve,if the initial conditions contain a derivative I write Derivative[1,0] [0,x] == f[x] I mean the first t derivative of u[t,x] for x at t=0 is f[x] I own a book based on Mathematica 10.3 Even if a...
  27. C

    Can I improve the sinc interpolation?

    Hello everyone. I am working with mathematica, where I have developed a two-dimensional shannon interplation, just as can be seen in the slides 15 to 18 of this presentation. The code is as follows: savedX = Table[XposX = mat[[All, 1]]; YposX = mat[[All, 2]]; windXVal = mat[[All, i]]...
  28. J

    MATLAB Conversion from Mathematica to Matlab

    Hello!. I am new to the forum and I am also a newbie to programming. I want to convert a Mathematica code to Matlab, but I don't understand how to translate these lines. This code is Mathematica 5.0. defvar := Module[{a}, Clear[ cN, cNf, ginix ]; Clear[ Nh, Nhf, gini ]; cN =...
  29. Abhisheko07

    Mathematica Mathematica error when solving a DE -- "exceeded RecursionLimit"

    Homework Statement:: I don't know where the mistake is happening. I need to solve the give differential equation in mathematica and have to plot it but i am facing problem in doing so. Can anyone help me in this? Relevant Equations:: I have attached the picture of equation as well as my...
  30. C

    KarhunenLoeveDecomposition function in Mathematica

    Hello everyone. I have a vector, stochasticData.mat, it contains a matrix of size 211302*50, being 211302 measurements of 50 realizations of a stochsatic process. I want to use the Karhunen-Loève expansion and the software Mathematica to calculate the uncorrelated random variables. For that, I...
  31. MNaydenov

    Mathematica Loop integrals using Package-X 2.0 in Wolfram Mathematica

    Hello everyone, I have trouble installing Package-X 2.0 to Wolfram Mathematica. It says that the package should be available at https://packagex.hepforge.org but this page does not open. I tried everything I could to install and load this package but it was all unsuccessful. It seems as the...
  32. Haorong Wu

    Mathematica Looking for packages for tensor calculation in Mathematica

    Hello. I am doing tensor calculation with indices, such as contraction, lowering or raising indices, tensor production, etc. I have tried the Ricci.m from https://sites.math.washington.edu/~lee/Ricci/ However, maybe because the package has not been upgraded for some time, I could not get the...
  33. A

    Mathematica Implementation of tessarines in Mathematica

    Hello, guys! I just wanted to share that there is a way to easily implement split-complex numbers (and tessarines) in Mathematica. $Pre = If[FreeQ[#, J], #, Module[{tmp}, tmp = Evaluate[ MatrixFunction[Function[J, #], {{0, 1}, {1, 0}}]] // FullSimplify...
  34. M

    Build a surface normal vector (I use Mathematica)

    Not HW, but seems to fit here. I compute $$n.S = \frac{(-1+\cos(c s))}{c^2} \sin(c s) \neq 0$$ I use the following in Mathematica: r[s_, \[Alpha]_] := Sin[Cos[\[Alpha]] s]/Cos[\[Alpha]] z[s_, \[Alpha]_] := (1 - Cos[Cos[\[Alpha]] s])/Cos[\[Alpha]] x[s_, \[CurlyPhi]_, \[Alpha]_] := r[s...
  35. S

    Mathematica Tracking dynamic markers across plots (Mathematica)

    Let's say we have a rectangular plot of two curves X(t) and Y(t); and next to it we have a parametric plot of (X(t) , Y(t)). Now we want to add a slider that can control markers on both plots, so that the slider ( = ts) moves two markers X(ts) and Y(ts) across the rectangular plot and at the...
  36. M

    Path Integrals in Wolfram Mathematica

    Hello everyone ! I am new to this site so I 'd better say hello to you all ! I am finishing my BR in physics and part of this ending is to deliver a thesis . Long story short I must compute path-integrals in SU(2) and SU(3) pure yang-mills fields . Problem is that i was never very good with...
  37. S

    Mathematica Fourier Transform Help with Mathematica

    I am attempting to be able to do this problem with the help of Mathematica and Fourier transform. My professor gave us instructions for Fourier Transformation and Inverse Fourier, but I don't believe that my output in Mathematica is correct.
  38. S

    Mathematica Definite integral with some unknown variables

    I am trying to evaluate an integral with unknown variables ##a, b, c## in Mathematica, but I am not sure why it takes so long for it to give an output, so I just decided to cancel the running. The integral is given by, ##\int_0^1 dy \frac{ y^2 (1 - b^3 y^3)^{1/2} }{ (1 - a^4 c^2 y^4)^{1/2} }##
  39. JD_PM

    Mathematica Learning how to compute Christoffel symbols using Mathematica

    I am using the code provided by Artes here, but I am missing something. The Chrisfoffel-symbol formula is $$\Gamma^{\mu}_{\phantom{\mu}\nu\sigma}=\frac{1}{2}g^{\mu\alpha}\left\{\frac{\partial g_{\alpha\nu}}{\partial x^{\sigma}}+\frac{\partial g_{\alpha\sigma}}{\partial x^{\nu}}-\frac{\partial...
  40. S

    Mathematica Inc, Dec buttons while "Manipulating" an array (Mathematica)

    This code takes the coeffeicient array c0 from the first line and does the Manipulate thing, putting in as many sliders as the length of c0. Problem is that I couldn't find a way to enable the increment and decrement buttons that you usually get for the sliders, even though I have put in the...
  41. Ishika_96_sparkles

    Mathematica Want to learn Mathematica programming

    Could anybody already working in Mathematica guide me? I want to learn how to program for physics, to be able to simple models, make graphs for equations, and finally able to solve problems especially Quantum mechanics. Where should i begin? I have never used such 'software?/language?' before. I...
  42. S

    Mathematica Mathematica - Manipulate slider - fine adjusting with [ALT] key

    It says here ... https://reference.wolfram.com/language/tutorial/IntroductionToManipulate.html#498667553 [section : Initial Values and Labels] ...that you can fine-tune a "Manipulate" slider by holding down the ALT key while you drag the handle. This is indeed the case, but unfortunately, the...
  43. Luke Tan

    Mathematica Mathematica Graph Plotting for Scientific Papers

    Hey guys, so recently I've been trying to use mathematica to plot graphs for my scientific papers, and I've been starting to wonder - what plot options do you guys use? How do you plot your graphs in mathematica such that they look presentable in a scientific paper?
  44. N

    Mathematica How to define such a simple function in Mathematica

    A very simple question but I can't find an answer. I have an expression which depends on two integers, n,d. Now, I want this expression to be a) 1 when d=n=0, b) some expression (that I won't write here) when both d and n are >0 c) zero when wither d or n negative. At first I defined the...
  45. S

    Mathematica Mathematica: DiscretePlot type plot with x values from a list

    I would like vertical lines with dots at the top of them, with the x-positions and heights coming from {{1.2, 3.5}, {2.3, 4.2}, {5.5, 6.7}} for example.
  46. S

    Mathematica Derivative of the Real Part of a Complex Function (Mathematica)

    When I type in this: D [ Re[ Exp[u + 10*I] ], u ] /. u->0.5 I get this output: Of course, I could just put the Re outside and the D inside, but it would be nice to know what is wrong with the above. What's with the Re' in the output?
  47. Saptarshi Sarkar

    Solving a Physics Problem with Mathematica: Get Help Now!

    The question is I have tried solving this problem several times over several days but each time the plot I get gets weird. Can someone please check what I did wrong? My attempt is attached below (I did not non-dimensionalize it as I wanted to first check if my code works) The...
  48. K

    Mathematica Is Mathematica more incomplete than the other math solver software packages?

    I only have access to mathematica currently. Regarding specifically its power to solve integrals, is it more unable to solve integrals than others like Maple? If the answer is yes, then I will move to purchase Maple.
  49. Wi_N

    Solving a min max problem in 2 variables using Mathematica

    Drawing the graph in 3d you see endless "mountains and valleys" which logic tells me there will also be infinite max min points in 2d regardless of where you slice the graph. apparently this is wrong and there is a finite max/min points in R^2/2D. Please note this problem does not have a domain...
Back
Top