Mathematica Definition and 1000 Threads
-
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.- kent davidge
- Thread
- Mathematica Software
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
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...- Wi_N
- Thread
- Mathematica Max Variables
- Replies: 6
- Forum: Calculus and Beyond Homework Help
-
Mathematica Is Mathematica the best option to compute the eigenvalues?
I am wondering what's the best option to compute the eigenvalues for such a determinant$$\begin{vmatrix} \sin \Big( n \frac{\omega}{v_1} \theta \Big) & \cos \Big( n \frac{\omega}{v_1} \theta \Big) & 0 & 0 \\ 0 & 0 & \sin \Big( n \frac{\omega}{v_2} (2 \pi - \theta) \Big) & \cos \Big( n...- JD_PM
- Thread
- Eigenvalues Mathematica
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
A Calculating the Gravitational wave spectrum with Inflation as a source
I am interested in knowing how to calculate the gravitational wave (GW) spectrum with inflation as a source, I have some background in inflation but I am not so familiar about calculating the GW spectrum. I am reading a paper (https://arxiv.org/abs/0804.3249) about it, however, a big part of it... -
C
Mathematica Defining a piecewise function in Mathematica
Hello everyone. I am trying to do a 2D Shannon interpolation, but I cannot use a sinc because later on this expression goes in an optimization software that doesn't recognize it. I have defined my own version of sinc as: sincC = Piecewise[{(Sin[Pi* #]/(Pi*(#))), # >= 1}, {1 - (#^2)/6 +...- confused_engineer
- Thread
- Function Mathematica Piecewise function
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Plotting k^2 in Mathematica - Output Not 1?
Can anyone confirm if the following in Mathematica gives an output that is not 1? I'm getting some sort of sinusoid, but I should get 1. k = 2; Plot[k^2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2, {t, 0, 10}] Thanks!- member 428835
- Thread
- Mathematica Output Plotting
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
What specs should I look for in a laptop
After completing my sophomore year at college as a Physics major and I realized that the laptop I currently have is not able to keep up with the demand I put it under for school. The laptop I currently have has a <2 hour battery life and has been known to crap out (didn't know how else to...- ParticleGinger6
- Thread
- Computer science Laptop Mathematica Matlab Physics
- Replies: 7
- Forum: Computing and Technology
-
S
Mathematica Solving 2-D partial integro-differential equation
While reproducing a research paper, I came across the following equation, ∂f/∂t−(H(f)(∂f/∂x)=0 where [H(f)] is hilbert transform of 'f.' and f=f(x,t) and initial condition is f(x,0)=cos(x) and also has periodic boundary conditions given by F{H{f(x′,t)}}=i⋅sgn(k)F{f(x,t)}, where F(f(x,t) is...- semivermous
- Thread
- Hilbert transform Mathematica Numerical method Partial Pde
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Wolfram releases the free Wolfram Engine for Developers
Wolfram made what I would call a gigantic move: they released the Wolfram Engine for Developers - for zero cost! The idea of the Engine is primarily that you can call and run Wolfram Langauge commands from lots of different sources. I am not the kind of person to automate Mathematica, although...- Ackbach
- Thread
- Engine Mathematica
- Replies: 21
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Quadratic eigenvalue problem and solution (solved in Mathematica)
Hi PF! Given the quadratic eigenvalue problem ##Q(\lambda) \equiv (\lambda^2 M + \lambda D + K)\vec x = \vec 0## where ##K,D,M## are ##n\times n## matrices, ##\vec x## a ##1\times n## vector, the eigenvalues ##\lambda## must solve ##\det Q(\lambda)=0##. When computing this, I employ a...- member 428835
- Thread
- Eigenvalue Eigenvalue problem Mathematica Quadratic
- Replies: 2
- Forum: Linear and Abstract Algebra
-
Z
Solve for x(t) and v(t) given a Force equation using Mathematica
Homework Statement Homework Equations F= ma or F= md^2x/dt^2 The Attempt at a Solution I know that this second order differential is non linear. I attempted to solve the problem as -k/x^2 = md^2x/dt^2 but I'm getting trouble since it is a second order ODE and I haven't learned how to solve...- zeesyk
- Thread
- Classical physics Force Force equation Mathematica
- Replies: 2
- Forum: Introductory Physics Homework Help
-
F
Mathematica Problem with line integrals in Mathematica
Hello everyone. I am testing mathematica to work with some line integrals. I want to go from the point (0,0) to (2, 3) over a straight line. I do it with 3 different parametrizations. The problem is that each one offers me a different result. The original problem is a two dimensional gaussian...- Frank Einstein
- Thread
- Integrals Line Line integrals Mathematica
- Replies: 9
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
B
Mathematica Equation of motion in Mathematica
I have a question to a physical task in Mathematica. We have this equation of motion: For energy of masspoint there is the condition : I have to write a procedure that uses the law of the conservation of energy for the potential V(x) to calculate t(x_1) - t(x_0) when there are given two...- bumchack
- Thread
- Equation of motion Mathematica Motion
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Compare MatLab vs Mathematica for CFD | Ric
I know a little bit of MatLab (for example I can solve simple, well conditioned, systems of 1st and 2nd order ODE), but I know nothing about Mathematica. I don't know whether or not start to learn how to code in Mathematica or keep studying MatLab. For example, for CFD (computational fluid...- dRic2
- Thread
- Mathematica Matlab
- Replies: 12
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
Solution: Plotting Mathematica Homework w/ Recursion Limit Error
Homework Statement Homework Equations E= kq/r^2 * r-hat where q= +/-(1.6*10^-19) The Attempt at a Solution x= (1.6*10^-19)*x/(x^2+y^2+(z+1)^2)^(3/2) - (1.6*10^-19)*x/(x^2+y^2+(z-1)^2)^(3/2)y= (1.6*10^-19)*y/(x^2+y^2+(z+1)^2)^(3/2) - (1.6*10^-19)*y/(x^2+y^2+(z-1)^2)^(3/2) z=...- Ashley1nOnly
- Thread
- Mathematica Plotting
- Replies: 2
- Forum: Introductory Physics Homework Help
-
A
Using Mathematica to solve an ODE
Homework Statement Homework Equations The Attempt at a Solution I used the NDSolve function from mathematic but its giving me problems. What is the correct way to enter the equation?[/B] soln = NDSolve[{y''[t] = (-9.8/5)*sin (t), y[0] = 20, y, {x, 0, 12}}]- Ashley1nOnly
- Thread
- Mathematica Ode
- Replies: 1
- Forum: Introductory Physics Homework Help
-
Mathematica Non-commutative multiplication in Mathematica
Does anyone know if it's possible to tell Mathematica to do calculations with non-Abelian groups, such as the quaternions? For example, how do you tell it to do (3 + j)(4 - i)? I would like to extend this beyond quaternions so is there is a way to define arbitrary group definitions? Thanks! -Dan- topsquark
- Thread
- Mathematica Multiplication
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Why Does a Polar Plot of a Circle Only Show One Side of the Unit Circle?
Why is it when I plot a circle from ##\theta \in [\pi/2,-\pi/2]## I get the right side of the unit circle: PolarPlot[1, {\[Theta], \[Pi]/2, -\[Pi]/2}] ? Shouldn't I get the left side?- member 428835
- Thread
- Mathematica Plotting Polar
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
Why Does My DFT Program for Helium in Mathematica Give Incorrect Energy Values?
I'm trying to solve this problem with Mathematica. Im not a Mathematica expert, but my program works perfect when vhartree={0,0,..,0}. This is the program I wrote: Clear[u, poisson, vhartree] h = 10^(-2);(*step integration*) rmax = 20; rmin = 10^(-30); Z = 2; (*atomic number*) points =...- Astr
- Thread
- Dft Helium Mathematica
- Replies: 2
- Forum: Advanced Physics Homework Help
-
M
Mathematica Why does Mathematica frequently crash on Mac OS?
Hi PF I have Mathematica 10.1.0.0 Student version running on mac OS High Sierra 10.13.5. Mathematica frequently crashes. Also, every time I minimize a sheet or "save selection as" it brings up a dark window that I either have to close, or if it doesn't let me close I have to quit the program...- member 428835
- Thread
- Mathematica
- Replies: 18
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
F
MATLAB Translating from Mathematica to Matlab
Hello everyone. I was wondering if someone could tell me how to write the next line of Mathematica code in Matlab. x = Sum [ Sqrt [ vals[ [ j ] ] ] * vecs [ [ j, All ] ] * z [ [ j ] ] , {j,1,10} vals is a eigenvalues vector, vecs is a eigenvector matrix and z is a vector of random variables...- Frank Einstein
- Thread
- Mathematica Matlab
- Replies: 7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Anyone familiar with this Mathematica textbook?
I am wondering if any PF member is familiar with this textbook on Mathematica. Mathematica by Example, Fifth Edition, by Martha L.L. Abell. The amazon link is https://www.amazon.com/dp/0128124814/?tag=pfamazon01-20 The course description: MATH 2110 with grade C or better. Introduction to...- MidgetDwarf
- Thread
- Mathematica Textbook
- Replies: 2
- Forum: Science and Math Textbooks
-
C
Mathematica Efficiently Store Mathematica Output as Vector: A How-To Guide
Hi. I want to store the output of Roots[LegendreP[3.0, x] == 0, x] as a vector. Can someone help me? Thanks- confused_engineer
- Thread
- Mathematica Output
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Exporting Multiple Variables from Mathematica to MATLAB - Quick and Easy Guide
Hi PF! I'm trying to export two matrices ##A## and ##B## from Mathematica into MATLAB. I can export one just fine; so far what I write is SetDirectory[NotebookDirectory[]] Export["data.mat", {A}] Do you know how I can export two variables at a time and then how I can export directly into...- member 428835
- Thread
- Mathematica Matlab
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
C
Mathematica Cannot do the integral of the Hyper-geometric function?
Dear friends: It's strange that Mathematica can do the integral of ##\int_0^\infty dx~x~_2F_1(a,b,c,1-x^2)##, however, fails when it's changed to ##\int_0^\infty dx~x~_2F_1(a,b,c,1-x-x^2)##. Are there any major differences between this two types? Is it possible to do the second kind of integral...- Chenkb
- Thread
- Function Hypergeometric Integals Integral Mathematica
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Cannot Plot This Function in Mathematica
Hi PF! I have the following in Mathematica. Notice h[2,x,0.5] gives me an output in terms of x, but when I try to plot this I get errors. Anyone know why this is? I read the error messages but am still unsure why I am not getting a clean output.- member 428835
- Thread
- Function Mathematica Plot
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Using While Loops in Mathematica for Iterative Computations
Hi PF! I'm trying to compute $$\phi_n(x)=\pi x^2+\int_0^{\pi} 3(0.5 \sin (3x)-tx^2)\phi_{n-1}(t)\,dt$$ given ##\phi_0 = 0##. I'd like to iterate this computation until ##\sqrt{\int(\phi_{n+1}-\phi_n)^2}< 0.1##. I've never used the while loop in Mathematica, tried reading the documentation but...- member 428835
- Thread
- Loop Mathematica
- Replies: 12
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Real Part in Mathematica: How to Extract the Real Values from Fractions
Hi PF! I have some variables that are all real, and I have a few ##i##s, all in a fraction. When I ask Mathematica to give me the real part of the entire fraction, ##Re[]##, it simply echoes my input, not giving me anything useful. Any help is greatly appreciated.- member 428835
- Thread
- Mathematica
- Replies: 8
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Labeling Plots in Mathematica 10.1.0.0 Student Edition
Hi PF! I am using an older version of Mathematica: 10.1.0.0, the student edition. I am trying to label plots within the Plot function using the command "PlotLegend ->" but when running, first I get a message that this is outdated, and when I suppress, I get a legend that does not work with the...- member 428835
- Thread
- Mathematica Plots Student
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
L
Linear Algebra - Find an orthogonal matrix P
A problem that I have to solve for my Linear Algebra course is the following We are supposed to use Mathematica. What I have done is that I first checked that A is symmetric, i.e. that ##A = A^T##. Which is obvious. Next I computed the eigenvalues for A. The characteristic polynomial is...- Lelouch
- Thread
- Algebra Linear Linear algebra Mathematica Matrix Orthogonal
- Replies: 6
- Forum: Calculus and Beyond Homework Help
-
C
Python Polynomial expansion from Python to Mathematica
Hi everybody. In Python there is a library called chaospy. One useful command is cp.orth_ttr which generates a polynomial expansion, e. g. a series of orthogonal polynomials or orders zero, one, two... for a random variable e.g normal, uniform... For more information see...- confused_engineer
- Thread
- Expansion Mathematica Polynomial Python
- Replies: 1
- Forum: Programming and Computer Science
-
C
Mathematica Is this a bug in Mathematica 11 ?
I calculated a simple complex function integration using Mathematica 11. As the screenshot shows, the only difference between the two inputs is that I set a = 1 in the second one. However, the two outputs differ by a factor of 2. What's wrong? Is this a bug?- Chenkb
- Thread
- Bug Mathemathics Mathematica
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Mathematica Solve Perturbation problem with mathematica
u'(1-epsilon(u')^2)=-y uo(1)=0 u1(1)=0 I need solve this problem with mathematica.- Necmi
- Thread
- Fluid machanics Mathematica Mechancal engineering Perturbation
- Replies: 14
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
Can Wolfram Mathematica be wrong on this Integration?
Homework Statement Mathematica vs (Symbolab + my brain) Homework EquationsThe Attempt at a Solution I think this integral calculation in Mathematica is wrong. Open pictures below. Please help me. Graphs (the red one is under the blue and the green): https://ibb.co/bACa3G Wolfram Mathematica...- srecko97
- Thread
- Integration Mathematica wolfram mathematica
- Replies: 6
- Forum: Calculus and Beyond Homework Help
-
J
Mathematica Number of extensions with Free Trial of Mathematica
I have just started a free trial with Mathematica. Does anyone know how many times one can request the extension of the free trial?- John Fennie
- Thread
- Mathematica trial
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
C
Analytic Continuation of DiLog in Mathematica
I have obtained the Dilog function in some output and was just wondering if anyone knew how to interpret its meaning. The mathematica notes tell me that ##\text{DiLog}(x,\alpha)## gives the dilogarithm function, which for real ##x>1## evaluates on the side of the branch prescribed by... -
Mathematica How to append functions to a list of functions?
My objective is to make a list of functions and afterwards be able to make operations with those functions. Hyfield[list_, bits_] := Module[{i, auxList, Hy}, auxList[a_] := List[]; For[i = 1, i <= bits*2, i++, auxList[a] = Append[auxList[a]...- RicardoMP
- Thread
- Functions List Mathematica
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Mathematica Eigenvectors 4x4 Matrix in Mathematica
Hi, I'm trying to calculate the eigenvectors of a 4x4 matrix, but I don't want the actual eigenvalues included in the solution, I simply want them listed as a variable. For example, I have the matrix: H_F = \left[ \begin{array}{cccc} \hbar\Omega&\hbar v_fk_- &0&0\\ \hbar...- DeathbyGreen
- Thread
- Eigenvector Eigenvectors Hamiltonian matrix Mathematica Matrix
- Replies: 10
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica How can I optimize Mathematica computation time for functional definitions?
Hi PF! I am using the following code in Mathematica mat = {{1, Cos[2], Cos[4], Sin[2], Sin[4}, {1, 1, 1, 0, 0}}; Li[x_] := Transpose[ NullSpace[ mat].{{1}, {Cos[x}, {Cos[ 2 x]}, {Sin[x]}, {Sin[2 x]}}]; Li1[x_] := Li[x].{{1}, {0}, {0}}; f[x_] :=...- member 428835
- Thread
- Computation Mathematica Time
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Mathematica Plot Real Portion (Contour Plot)
Hi PF! In Mathematica and given the code below, I am trying to the real part of ##\sigma##, ##Re(\sigma)##, in stead of simply ##\sigma##. Any help would be awesome! Here's what I have: n = 3; ContourPlot[(\[Sigma]^2 - 2 (n - 1) (2 n + 1) \[Epsilon] \[Sigma] + (n - 1) n (n + 2)) ((...- member 428835
- Thread
- Contour plot Mathematica Plot
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Minkowski Diagram and Mathematica
Homework Statement [/B]Homework Equations Mathematica The Attempt at a Solution I want to plot the diagram using Mathematica. I saw on the net there is some kind of programming needed for this. Do I need to learn programming for doing this? If yes, how to learn it?- Pushoam
- Thread
- Diagram Mathematica Minkowski Minkowski diagram
- Replies: 1
- Forum: Introductory Physics Homework Help
-
W
Mathematica Add a rectangle to a plot to indicate range
I have some data points that I want to plot and suppose I have the function ##f(x) = x##, with the domain having the range ##0\leq x \leq 10##. Assume that the experimental values lies in the range ##4\leq x \leq 7##, how can I put a rectangular region to cover this range behind my plot so as to...- Whitehole
- Thread
- Graphic Mathematica Plot Range Rectangle
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
A EoM in Schwarzschild geometry: geodesic v Hamilton formalism
Hi there guys, Currently writing and comparing two separate Mathematica scripts which can be found here and also here. The first one I've slightly modified to suit my needs and the second one is meant to reproduce the same results. Both scripts are attempting to simulate the trajectory of a...- Matter_Matters
- Thread
- Black hole Eom General relativity Geodesic Geometry Hamilton Mathematica Relativitiy Schwarzschild Schwarzschild geometry
- Replies: 31
- Forum: Special and General Relativity
-
Mathematica For looping problem not getting answer
Hi, I need some helps. I try to run the code below but its keep give me the value of intial value. Q = 1415; \[Mu] = 1000; \[Sigma] = 500; double dx; double x; double fx; double fxplusdx; double I1; double I2; I1 = 0; I2 = 0; For[x = 0, x <= Q - dx, dx += 0.01, fx = PDF[NormalDistribution[0...- hbz88
- Thread
- For loops Mathematica
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Q
Mathematica Mathematica: Convolution Integral
Hi all! I'm new to Mathematica. I have written a code for performing a convolution integral (as follows) but it seems to be giving out error messages: My code is: a[x_?NumericQ] := PDF[NormalDistribution[40, 2], x] b[k_?NumericQ, x_?NumericQ] := 0.0026*Sin[1.27*k/x]^2 c[k_?NumericQ...- QuantumKnoll
- Thread
- Convolution Indefinite integral Integral Mathematica
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
Mathematica Mathematica: Mapping a Four Color Rectangle to a Four Color Torus
Hi, I was wondering if someone could help me understand the grid command in the following Mathematica code that transforms a rectangle to a torus like in this video below. My problem is I want the blue rectangle in the Mathematica code to look like the four color rectangle in the plot below...- aheight
- Thread
- Mathematica Torus
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
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}})##- Figaro
- Thread
- Base Interval Mathematica Plotting
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
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...- Mr Davis 97
- Thread
- Mathematica System System of equations
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
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.- Mr Davis 97
- Thread
- Mathematica
- Replies: 3
- Forum: Programming and Computer Science
-
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?