0
votes
1answer
185 views

How to solve this equation? [closed]

The numbers real x and y, are solutions of the following equation system : $$ \{x^3 + 3x^2y + 3xy^2 + y^3 2\sqrt2$$ $$ \{x^3 - 3x^2 + 3xy^2 -2y^3=0 $$ . $$ x^2 + y^2$$ How to solve it ?
4
votes
1answer
592 views

Reduce an equation by putting a new variable

I have the following equation given: $$ (26-x)\cdot\sqrt{5x-1} -(13x+14)\cdot\sqrt{5-2x} + 12\sqrt{(5x-1)\cdot(5-2x) }= 18x+32. $$ In order to solve it, I want to substitute $t = \sqrt{5x - ...
2
votes
1answer
466 views

Plotting Complex Roots of Unity [duplicate]

Possible Duplicate: Finding real roots of negative numbers (for example, $\sqrt\[3\]{-8}$) I am trying to make Mathematica plot the cube roots of $27i$ and graph them, so that I can include ...
19
votes
6answers
872 views

Understanding Pie Chart Annulus generation and alternate style using Disk[]

Background I have been working with a set of data for some time now and I recently decided to change the format. The data is a tree-styled listing of hierarchical names and positions. (* Names ...
7
votes
1answer
194 views

Make ControlActive respond faster within Animate

The following code uses Animate to create an animation that displays as {t, "Inactive"} when paused, and {t, "Active"} when running: ...
8
votes
2answers
594 views

Does Mathematica have a “MATLAB Builder” equivalent?

I was wondering if Mathematica has an equivalent of MATLAB's "MATLAB Builder" as seen here? I found this but it reads as if all programs using .NET/Link must have Mathematica installed on them as ...
2
votes
1answer
301 views

FindMinimum, NMinimize, etc. with external process

I was hoping to be able to use MMA's minimization power to work with an external process. I want to minimize the function 'TryThisNumber[x_]' which sends the value of x to something external and gets ...
4
votes
1answer
199 views

Optimizing a rank 3 tensor

Assume we have the following elements \begin{equation} F_i{}^j \;and\; S_{ij}{}^k, \end{equation} which represent the components of tensorial objects of ranks 2 and 3 respectively, with Complex ...
1
vote
3answers
247 views

Replace values of a list containing words and numbers

I'm trying to import some data in a .txt file which contains numbers and words. I import a list which consists of four rows of measured data acquired with an oscilloscope, but the acquisition program ...
4
votes
2answers
240 views

Context Sensitive Formatting for a Table

Suppose I am calculating the correlation of a a set of vectors. Correlation[RandomReal[1, {5,5}]] I would like to display the output using TableForm or Grid ...
1
vote
1answer
369 views

Change number from real to integer [duplicate]

Possible Duplicate: Is this the most efficient way to round approximate integers to integers while leaving other Reals untouched? Please consider the following: ...
15
votes
1answer
579 views

Why does repeating an equation help in FindRoot?

I'm trying to understand this behavior of FindRoot. Consider a sample function (the one I'm actually interested in is far more complicated, but has similar issues) ...
1
vote
2answers
220 views

Proper way to deal with lists and map

So, I wanted to do something that I assumed would be really simple. Given two lists, $A = \{a_1, a_2, ...\}, B = \{ ... \}$, I wanted to take a function $f(a, b)$ and generate a list with $\{ f(a_1, ...
5
votes
1answer
232 views

How to get state of checkbox?

Please explain how to get state of checkbox for its usage in further calculations. And I want to keep the selection from session to session without external savings. Thanks in advance
7
votes
0answers
195 views

How to style and position VerticalCallouts and RadialCallouts

Here is a pie chart with a labels placed with a "VerticalCallout" ...
11
votes
2answers
453 views

Calculating morphometric properties

Is it possible to calculate segment length, segment diameter and branch angles for three dimensional geometry. Geometry contains vertex points and polygon surfaces as ...
6
votes
3answers
325 views

Argmax in a List

I have a sequence of 100 lists. A sample list, list[1], looks like this: ...
14
votes
2answers
553 views

How to measure segment length and branch angle

I am trying to measure segment length and branch angle or bifurcation angle between each pair of segments. My image after thinning looks like this: ...
4
votes
2answers
165 views

How to display docked cell (defined in stylesheet) in *.nb only (and not in *.cdf)?

I have a docked cell in a stylesheet (with shortcuts for editing the notebook). Is there an option I can set so that this cell is not displayed in CDF? Edit Based on answer by @MikeHoneychurch and ...
13
votes
1answer
515 views

Use Mathematica to do a network analysis of Mathematica.SE

Recently Wolfram|Alpha announced that you could use it to analyze your Facebook site. How could I do a network analysis of questioners and answers here on Mathematica.SE?
5
votes
1answer
789 views

Calculus 1: Create the plot of a function satisfying certain conditions

Today in class we were shown how to create an infinite limit graph (plot) given the preceding conditions. While I have a fairly terrible sketch of this graph in my notebook, I'd like to create a clean ...
2
votes
1answer
158 views

Using Plot3D with one variable dependent on the other

Plot3D[f,{x,xmin,xmax},{y,ymin,ymax}] In the above , is there any way to give range of y in terms of x. I want to give like ...
3
votes
1answer
154 views

How do I fix Needs[“OpenCLLink`”] failure?

In Mathematica 8.0.4 under Mac OS X 10.8.2, when I evaluate Needs["OpenCLLink`"] I get error ...
0
votes
1answer
312 views

(N)Solve does not solve equation

I am trying to calculate where a beam hits a mirror. The mirror is described by this curve (two facing spherical mirrors): ...
1
vote
2answers
227 views

How to insert an expression in a Mathematica program?

I need to insert a very large expression in a Mathematica program. So I first Put[large expression,"file"] and then use Block[{}, Get["file"];...] to ...
6
votes
4answers
289 views

permutation as product of transpositions

How can the permutation that takes{-f, -i, i, -e} into {-e, -i, i, -f} be realised as a sequence of nearest neighbour ...
3
votes
2answers
105 views

Subvalue and level

I'm interested in the arguments of f in expressions like f[a]@f[b]@f[c] By argument I mean what is here ...
6
votes
1answer
316 views

Solving antisymmetric tensorial equation

Assume we have the following Tensor objects: \begin{equation} F_{i}{}^{j}\;and\;S_{ij}{}^{k}, \end{equation} where the components of $F$ are known, and we would like to solve for the components of $S$ ...
1
vote
1answer
141 views
19
votes
3answers
391 views

How can I regroup elements in a list into a tree based on their values?

I have a list of elements in an outline, here is an example that is only 3 levels deep: ...
0
votes
0answers
111 views

Why does mathematica crash when I rotate a 3D graph? [duplicate]

Possible Duplicate: SIGSEGV error with 3D Plots I just recently installed mathematica 8 on my linux machine, running ubuntu 11.10 I decided to tun and test mathematica so while the terminal ...
10
votes
1answer
554 views

Is there a simple example using OpenCLLink that shows performance advantages?

OpenCLLink allows Mathematica to use the OpenCL parallel computing language. I have done some tests on simple examples, but so far, the CPU regularly outperforms ...
2
votes
0answers
176 views

how do you fix an axis in place for a movie? [closed]

I have a series of txyz coordinates, which I am plotting in space to create a movie of the objects' time evolution. With something along the lines of (simplified): ...
3
votes
2answers
174 views

How do I convert an argument list to a list of arguments? [closed]

I think this is a basic question, but I am having difficulty finding the answer in the documentation. Thread is not what I am looking for, I think. Suppose that I ...
9
votes
1answer
242 views

Can palettes dock to notebooks?

Over on Meta: A wishlist for Mathematica I got an interesting comment on the following suggestion and thought it merited a stand alone question: re: NOTEBOOK INTERFACE USABILITY & ...
3
votes
1answer
102 views

Changing the contents of a TextCell according to the user input of another TextCell

Is it possible to change TextCells in the following code in that way, that the TextCell "profile starts at x =" changes to "profile starts at y =" and at the same time the TextCell "measurement starts ...
8
votes
1answer
282 views

ReplaceAll[] and Limit[] don't give correct results for this expression under extreme variables [duplicate]

Possible Duplicate: Funny behaviour when plotting a polynomial of high degree and large coefficients 1/x^2 + (3 + x)/(6 (1 - Exp[x] + x)) ——This is a ...
1
vote
3answers
187 views

How to find maximum ConditionalExpression among all solutions

For example I want to find solution with maximum value among solutions (and possibly plot it): ...
6
votes
6answers
1k views

How do I fill in a circle made by ParametricPlot with one solid color?

I have a very simple question but I am new with Mathematica. I made a circle on a parametric plot and I made the line black. I want to make the inside of the circle on the parametric plot red. So the ...
3
votes
1answer
519 views

Are there any openCL test suites?

I have a new ATI gpu that I have been trying on 3 different distributed computing projects. I get errors on each work unit. The errors indicate No Protocol which could be caused by a bad environment ...
5
votes
2answers
232 views

Solve for $a$ as a function of $\beta$?

I am trying to solve this equation: $$\beta^{-a} \Gamma(a) \sin(a \pi) + e^\beta \beta^{2 a - 1} \Gamma(1 - a) \sin(a \pi) = 0$$ I tried the following: ...
9
votes
1answer
417 views

Monospaced fonts are not monospaced

I'm using Linux-x86-64 as operating system. Can someone explain this behaviour and maybe give a hint how to resolve it? Here are two lines of exact the same number of letters of a monospaced font: ...
7
votes
4answers
148 views

Is there a good way to map a function over a list to lists exclusively of a certain depth?

Let's say I have some ragged list. If some elements have some depth $n$, then is there a way I can map a function to only those elements? I.e., for some list foo, ...
6
votes
2answers
263 views

Conditionally replace rows in lists

I have a sequence of matrices/lists ...
1
vote
2answers
310 views

Using Functions as Arguments to Function

I am trying to make a function like Norm but defined like so: MyNorm[{x_,y_,z_}]=Sqrt[x^2+y^2+z^2]. Mathematica assumes that x, ...
3
votes
1answer
148 views

How can I find the average of the ordinate of an indefinite number of lists of points?

Suppose that I have three lists: list1 = {{0, 1}, {0.1, 10}, {0.2, 100}}; list2 = {{0, 1}, {0.1, 10}, {0.2, 100}}; list3 = {{0, 2}, {0.1, 20}, {0.2, 200}}; In ...
5
votes
2answers
164 views

How can I set the tick marks of the x axis in RectangleChart?

By default, the x-axis in RectangleChart is not labeled. Using Axis -> {True, True} does not help. Can I set the ticks ...
4
votes
2answers
846 views

Set default font for Output

Is it possible to set the font family to Arial for axes, legends and labels globally? I found out about ...
6
votes
2answers
168 views

DateList Segmentation of data

I've been trying to separate large segments of DateList formatted data (years worth at a time) into individual days using the Split function. The data has the form: ...
15
votes
0answers
528 views

Fast Spherical Harmonics radiative transfer

This is a rather specific question and I apologize for spamming you with some lengthy code. But it could be interesting for some reader and maybe you can help out, so please bear with me. I am using ...

15 30 50 per page