Mathematica

Mathematica

  • All Sites
  • All Meta Sites

0 answers

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}, ...

3 answers

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

1 answer

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

5 answers

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 Stack Overflow stackoverflow.com
1 answer

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

4 answers

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 - LaTeX tex.stackexchange.com
1 answer

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

1 answer

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

8 answers

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

0 answers

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

1 answer

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

0 answers

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

2 answers

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 Stack Overflow stackoverflow.com
0 answers

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?

1 answer

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

2 answers

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

1 answer

Lattice Reduction in Mathematica

I have some trouble understanding the concept of lattice reduction. As I understand, an integer lattice $$\{ A k : k \in \mathbb{Z}^n \} \subset \mathbb{Z}^n $$ is defined by a regular matrix $A \in ...

1 answer

Using the clipboard in a function

How can I use the content of the clipboard in a function? When I use Paste[] it copies it in the current cell of the active notebook. On the other hand, I can easily put an expression to the ...

1 answers | Feb 1 at 20:06 by faysou on Stack Overflow stackoverflow.com
0 answers

Use Manipulate with SkewNormalDistribution

I would like to use Manipulate combined with SkewNormalDistribution in order to try fit data. Could someone help me with the syntax of SkewNormalDistribution in that case? Thank you in advance!

1 answer

How to calculate this integration in wolfram mathematica

i want to calculate this integration in mathematica , but i have faced this problem i have attached. Thanks for your assistance.

0 answers

Trouble solving a system of 2 ODE's with Mathematica's NDSolve

I'm trying to solve a system of two coupled second-order ordinary differential equations using Mathematica's NDSolve. The functions of r that appear in the equations are vz[r_] = -8.32102*10^-6 ...

0 answers

Convex Analysis - How To Find Non Convex Set

I have a problem regarding the following exercise (I considered to put this question on mathematica.stackexchange, but I changed my mind and though this was the right place for this particular ...

2 answers

Should I trust Mathematica or numerous other sources on this Fourier transform

Assume $a>0$ So Mathematica claims $$F\{e^{-a|t|}\}(\omega) = \frac{a\sqrt{\frac{2}{\pi}}}{a^2+\omega^2}$$ However, I've read about another transform pair (page 3): $$F\{e^{-a|t|}\}(\omega) = ...

0 answers

How to solve this system in mathematica

I want to solve this system in mathematica and i have applied various functions such as Solve, NSolve, etc. but none of them worked. could you help me how could i find my answer?

1 answer

Can't get solutions in output of wolfram mathematica

When I type a function into wolfram mathematica (such as EulerEquations[]) it doesn't output a solution, just outputs the same thing I typed in as input. Does anyone know how to fix this?

1 answers | Jan 31 at 10:47 by cadams on Stack Overflow stackoverflow.com
1 answer

How to find inverse function in Wolfram Mathematica?

The question seems too easy to answer, however it is not, since I have to deal with functions that do not have closed forms (or I don't know how to find them). For example, I would like to find ...

1 answers | Jan 30 at 14:26 by Aleksandar on Stack Overflow stackoverflow.com
1 answer

Newton backward interpolation in Mathematica

I have the following task: Create a function (in Wolfram Mathematica), called $\mathrm{NewtonBackward}$[n_,x0_,h_,f_] which interpolates backwards the function $f(x)$ with nodes {x_i = x_0 + ...

1 answer

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 Stack Overflow stackoverflow.com
1 answer

Labeling points of intersection between plots

First of all I would like to apologize for the newbie question. I am just starting up with mathematica and I have 2 simple plots. What i want to do is have Mathematica automatically find the ...

1 answers | Jan 26 at 9:37 by Ray on Stack Overflow stackoverflow.com
2 answers

How can I ask Wolfram Alpha to rearrange an equation?

I have an equation (parentheses are used because of VBA code) Y=(P/(12E((bt^3)/12))*A and i know every variables but not "b". Is there any way how to ask Wolfram Alpha to "redefine" (not solve) ...

15 30 50 per page
1 2 3