Mathematica

Mathematica

• All Sites
• All Meta Sites

## Transitioning to Python from Mathematica

I have the following piece of code to plot "resonance lines": TuneDiagram[MyOrder_, MyColor_] := Module[{}, myLines = Partition[ Flatten[Table[{{A -> a, B -> +MyOrder - a, C -> p}, ...

## Solution of the equation $\cot \theta = 2\cot 2\theta$

I've tried to solve the equation $\cot \theta = 2\cot 2\theta$ with the command 'Reduce' of Mathematica and obtained $\theta = n\pi$ as the solution with n an integer. But $\theta=n\pi$ is clearly a ...

## Set Mathematica command line exit code

I am running Mathematica from the command line using more or less the method discussed here: Call a Mathematica program from the command line, with command-line args, stdin, stdout, and stderr I am ...

## Arbitrarily Deep Nested Pattern Matching

Is there a way to create a Mathematica pattern which matches expressions whose heads may be arbitrarily deep, i.e. something like f[___][___][___]...?

5 answers | 2 days ago by Perce on stackoverflow.com

## Installing a complete package into Mathematica

I downloaded a Mathematica package (it's called "automaticUnits" - http://library.wolfram.com/infocenter/MathSource/7655/). I can make the functions work, but I would like to install all the ...

## Fanciest way to include Mathematica code in LaTeX

I am trying to include a Mathematica code in LaTeX. To obtain the Mathematica code I just exported notebook as PDF. I didn't like the way it was included in my TEX code so I just thought of adding a ...

4 answers | Feb 7 at 21:03 by Thanos on tex.stackexchange.com

## Converting BIG numbers (say, 3000 or 100000) to scientific format (say, 10^3 or 3*10^5) in MATHEMATICA

I have plotted a 3-D plot using Plot3D command. Depending on the parameter values, the plot shows very large numbers (say, 3000 or 100000). So, my z-axis looks very odd as it ocupies large space too. ...

## Solve with real positive parametrs in Mathematica

I would like to solve for eta in Mathematica Solve[-Sqrt[1-(a eta b )]+Sqrt[1-(a eta c)]-(1-eta) n g + (1-eta) ns P == 0,eta] with all parameters being Reals and positive and eta Reals and positive ...

## Mathematical Programming Languages

Given my previous questions about the the usage of AMPL. Are there any other programming/scripting languages that are strictly meant for mathmatical processing? For example: Matlab (it does ...

## How to Show steps of soultion in Mathematica?

Please I use this code to calculate the partial derivative of U with respect to r and y. My questions are Is there anyway to show the solution of derivative step by step? I used trace command but ...

## How to represent one variable in terms of others in an equation set in Mathematicas?

I have an pretty complex equation set enter image description here I want to solve Vo in terms of Vin. But when I clicked Ctrl+Enter (a.k.a Evaluate Cell), nothing happened. How to fix it? Thanks ...

## Calculating derivatives

I have this formulation and want to calculate its derivatives using a mathematical software, either Matlab, Mathematica or anything else. Is there any way by which I can obtain the second equation ...

## MATLAB equivalent of Mathematica's Sum

I am trying to find the simplest MATLAB equivalent command of this Mathematica code Sum[i^2,{i,1,10}]

2 answers | Feb 3 at 19:26 by Sukan on stackoverflow.com

## Integer solutions to a polynomial $f(x,y)$

How can I find the integer solutions of a polynomial $f(x,y)$ such that $a<|x|,|y|<A$ using Mathematica?

## How to find a pair of basis vectors for the plane given by the equation?

Find a pair of basis vectors for the plane given by the equation x+2y+3z=0 I was given the Hint: you can find points on the plane by choosing values for two variables and solving for the third I am ...

## Does the inverse of $f(x)=x^3$ have a non-negative domain to have a real output?

I'm not familiar with complex analysis. While playing with Mathematica (a mathematics software), I found that it keeps spitting out unexpected results, and the reason was that it considers differently ...

## Self Organizing Maps in Mathematica (SOMs)

Does anybody know of, or have, a reasonable implementation of SOMs in Mathematica?

1 answers | Jan 27 at 19:28 by Richard Palmer on stackoverflow.com