Mathematica

Mathematica

  • All Sites
  • All Meta Sites

0 answers

Program for universal enveloping Lie algebra Su(3) in Mathematica

From information in internet, particular this link: http://forums.wolfram.com/mathgroup/archive/1999/Nov/msg00213.html It was interseting problem of " How to do Lie algebra in Mathematica". Now,our ...

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

0 answers

Anyone using Emacs as front end of Mathematica?

So much I'm missing the Emacs power when I (have to) stay inside Mathematica editor. I saw a few mathematicas-mode, but they are all outdated... Any suggestions?

2 answers

Floating point math rounding weird in C++ compared to mathematica

The following post is solved,the problem occurred because of miss interpretation of the formula on http://www.cplusplus.com/reference/random/piecewise_constant_distribution/ The reader is strongly ...

0 answers

FindRoot[rhs==lhs, {X,x1,x2}] Vs. FindRoot[rhs==lhs, {X,x1}]

What is the difference between these two commands: FindRoot[rhs==lhs, {x,x1,x2}] and FindRoot[rhs==lhs,{x,x1}] They give me completely different solutions. Thanks

1 answer

Extracting coordinates from a Mathematica spline graphics

How can one extract the coordinates of all the points which make up the following graphics (here just an example)? spl = BSplineCurve[{{-.4, -.3}, {0, -.6}, {.4, -.3}, {0, -1.2}}, ...

1 answer

Convert mathematica functions to lua

I want to read files written using the Mathematica function 'Save'. Inside, their are expressions that I would like to translate in lua. For example: mathematica -> lua foo[bar_]:= a*bar + b ...

1 answer

How to custom the display order of polynomial in Mathematica

For example, I have A = a*c*b + d*c*b + d*c*t Where b and t are more like variables and a,c,d are more like parameters. It would be displayed as a b c + b c d + c d t what I want is let it be ...

1 answers | yesterday by iuradz on Stack Overflow stackoverflow.com
2 answers

Stephen Wolfram's Rule 30 pattern clarification

The problem I was going through the methods by which Wolfram's Mathematica generates random numbers and found that it uses the Cellular Automata Rule 30. The underlying explanation of it goes as ...

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

0 answers

How can i fix a multiplicity issue in mathematica 10.0 loop?

I am solving a project in Mathematica 10 and I think that the best way to do it is using a loop like For or Do. After build it I obtain the results I looking for but with a to much big multiplicity. ...

0 answers

LinearSolve in wolfram mathematica

I have problem with linearsolve in mathematica. I have a system like Mx=A. M is 3x2 matrix with complex elements. x is 2x1 matrix with elements x1 and x2. A is 3x1 matrix with complex elements. So ...

1 answer

mathematica dynamic shifter list

I want a shifter list for a input buffer. My code is: //Simulate input whit Slider. Is work perfect. Only work for changes by the user. list = Table[0, {10}]; Slider[Dynamic[b, (b = #; list = ...

0 answers

A table returns {{Null, Null, Null}, {2 Null, 3 Null, 4 Null}}

If I declare some parametrs to my function for example: cube[3, {{1, 1, 1}, {2, 3, 4}}] It returns something like this: {{Null, Null, Null}, {2 Null, 3 Null, 4 Null}} Where could be a problem? I ...

0 answers

Closed form expression for 3F2 with positive unit argument

Is there any closed form expression for the Hypergeometric function ${}_3F_2(-n,-n,c;-d/2-n,-d/2-n;1)$ for $n>0$ and $d>0$. The parameter $c$ can be both positive and negative.

1 answer

The positive root of the transcendental equation $\ln x-\sqrt{x-1}+1=0$

I numerically solved the transcendental equation $$\ln x-\sqrt{x-1}+1=0$$ and obtained an approximate value of its positive real root $$x \approx 14.498719188878466465738532142574796767250306535...$$ ...

1 answer

How to skip warnings in a loop [wolfram-mathematica]

My goal is to read in data on all the available stocks at NASDAQ using FinancialData[], and do some computations on it. The problem is (I already contacted the support because of this and it is a ...

2 answers

Mathematical Issue: Triangle, Pyramid, Rotation, Translation, Zoom

Another tricky question. What you can see here is my physical pyramid built with 3 leds which form a triangle in 1 plane and another led in the mid center, about 18mm above the other 3. The 4th one ...

1 answer

Labeling in Mathematica to match the font size same as in LaTeX

I have some plot Plot[a, {a, -6, 6}] I need to use it in Latex. However the problem is that labeling text style in Mathematica does not match with LaTeX text. So what I do, I copy the figure ...

1 answers | Feb 28 at 11:39 by zenith on TeX - LaTeX tex.stackexchange.com
3 answers

How can I do a Get on an InputStream?

One annoying thing of encoded packages is that they have to be in a separate file. If we want to distribute a simple self contained app (encoded), we need to supply two files: the app "interface", and ...

3 answers | Feb 27 at 23:47 by P. Fonseca on Stack Overflow stackoverflow.com
1 answer

Basic Gamma functions identities not verified with Mathematica

Mathematica V10 does not return True to the following lines of code: Simplify[Gamma[z] == (z - 1)!, Element[z, Integers] && z > 0] Simplify[(Gamma[1 - z] Gamma[z]) == Pi/Sin[ Pi z] , ...

1 answers | Feb 27 at 17:58 by wojtek on Stack Overflow stackoverflow.com
1 answer

How do you make a parametric plot of a table of functions in Mathematica?

I am trying to generate a family of curves in a parametric plot (since the function is giving x as a function of y), but I am getting either nothing or clearly incorrect functions. Is there something ...

1 answer

Selecting random values in a set in mathematica

I have a set which has {0} and other 8 elements, total 9 elements. I want to choose random 3 value in this set and create a 3x1 column matrix. This will repeat all possible choices in the set. How can ...

1 answers | Feb 27 at 7:30 by ilker on Stack Overflow stackoverflow.com
0 answers

Entering coordinates of a point using the keyboard in Mathematica

As I can enter the vertices of a triangle shape A (x1, y1), B (x2, y2), C (x3, y3), using the command "Input" Something like this, but more elaborate x = {}; n = 3; k >= 0; a = 0; b = 0; c = 0; ...

0 answers

How to import a txt file as a list in Mathematica?

So I need to import a txt file into Mathematica and plot the data using the ListPointPlot3d. My txt file data is of the exact form (3 columns, 3 rows) 1.000 1.323 2.010 1.003 1.071 1.958 1.013 ...

1 answer

Thread::tdlen: Objects of unequal length error in wolfram mathematica

I have error that Thread::tdlen: Objects of unequal length in {0.*10^-16-1.000000000000000 I} {{0,0,0},{0,1,0},{0,0,0}} cannot be combined. >> {0.*10^-16-1.000000000000000 I} ...

1 answers | Feb 24 at 21:23 by ilker on Stack Overflow stackoverflow.com
1 answer

Mathematica NIntegrate function in C++

I am working on computing a challenging integral. I am working with someone else who wrote some code in Mathematica to compute it. I do not have mathematica so I am trying to do the same thing in C++. ...

0 answers

Constrained Optimization in Mathematica

I am trying to do the simplest of constrained optimizations in Mathematica but it just wont work and I dont know what I am doing wrong. I just want max ln[x]+ln[y] subject to 10=x+y. This can simply ...

0 answers

sql abstract in mathematica

I am using mathematica package to access and work with sqlite database. Here is an example of sql abstraction (here). Does Mathematica suppoort sql abstraction, and any idea how to implement it (using ...

2 answers

How to draw the classic state diagram using Mathematica?

Is it possible and practical for Mathematica to draw something like this (being created by Graphviz): This is the best that I can get (but the shape and style are not satisfying): Code: ...

15 30 50 per page
1 2 3