Questions about the form and content of output returned by *Mathematica* for a given input or function application. This can include specific differences produced by older versions of *Mathematica*.

learn more… | top users | synonyms

0
votes
0answers
40 views

No output when a parameter changes

I am very new in Mathematica, but I cannot find out what is happening here, looking on the internet. I modified a previous notebook as follows: ...
1
vote
1answer
147 views

What's wrong with my palindrome finding function?

I'm trying to find the palindromes in the dictionary, but my output isn't giving me all of them. I have this so far ...
2
votes
1answer
88 views

File output and race conditions

Is it possible to know when Mathematica is done writing a file? I'm looking to automate something and I'm wanting to have Mathematica put it in a file using Put[], ...
0
votes
2answers
148 views

Put results in multiple columns for comparison

One thing I would like to do in many instances is arrange input/output in columns for comparison. I expect that I need to use Grid to do this, but have not been ...
2
votes
1answer
85 views

How can I turn off generation of Dynamic elements by Histogram?

By default Histogram generates Graphics expression with embedded Dynamic constructs as can ...
0
votes
0answers
91 views

DSolve is rejecting my description of a system of PDEs

I am trying to solve a system of partial differential equations using DSlove. But i get the input equations in return. Dsolve is not doing anything ...
2
votes
3answers
415 views

Outputting a fraction on one line with an oblique division sign

How can I make Mathematica output a fraction as x/2 as opposed to the x on top with a horizontal bar and ...
7
votes
2answers
174 views

Can I Print to a different notebook? (within the context of the same kernel)

Please imagine a simple loop: For[i=1,i<=100,i++, Print[i]; ]; We can ask Print[] to output $(1,2,3,4,...)$ to a ...
3
votes
0answers
56 views

How can I append Mathematica variables to an output file preserving both names and values? [duplicate]

I have a Mathematica program that calculates a series of large vectors that I need to save for future reference (in addition to some scalar values). I want to save all these to a file, tagged by their ...
11
votes
1answer
251 views

Infix form of PutAppend ( >>> ) does not work with variable

I'm new to Mathematica, so I suspect this question involves either a misunderstanding involving variables or the usage of >>>. On a webMathematica page ...
0
votes
1answer
96 views

How do I save the last graphical output of Animate so as to make it the background for the next Animate?

I am making an instructional program in which a random number appears and moves across and down into the appropriate bin, landing on top of the existing stack. Then another number appears, repeating ...
2
votes
1answer
398 views

why mathematica outputs “TRUE” sometimes in outputs that are conditional to mean “in all other cases”?

consider this simple Input: Probability[g <= m && m <= -g + 1, {m, g} \[Distributed] UniformDistribution[{{0, 1}, {0, gg}}]] which generates a ...
2
votes
1answer
364 views

How to use output from previous line in Plot? [duplicate]

Suppose, I want to solve a equation and want to obtain it's first root. In this case I've used In[1]=:Solve[b^2 + b*z + 1 == 0, b][[1]] This gives ...
3
votes
2answers
252 views

Mathematica does not understand (R^3)^(1/3) is the same as R [closed]

In the output from a calculation in mathematica stands a/((R^3*c)^(1/3)), with c and a ...
5
votes
2answers
387 views

How to capture Print output

How can I capture output from Print from a function which does not leave the printed object as its final output, (and which I do not wish to edit)? E.g. ...
2
votes
2answers
85 views

How can I get a Button to evaluate an expression containing Get? [duplicate]

I have problems making Button evaluate an input like this one: Button["Load", Get["/Users/simonlausen/Desktop/Input/ex1.mx"]] ...
2
votes
3answers
3k views

Write a table to a file

I want to compute a multidimensional table in Mathematica and write it to an external file. Here is a simple example. I have three lists x, ...
0
votes
1answer
163 views

Get value only from Position

If have the following command Position[{a, b, a, a, b, c, b}, b] (* Out[1]= {{2}, {5}, {7}} *) Is it possible to get only a sequence of values instead of this ...
10
votes
2answers
166 views

Can anyone explain this strange behavior of InputForm?

In Mathematica 9.0.0, when to display the input form of two numbers, I come across maybe a puny problem. In order to focus on the problem, I will put up a simplified version. ...
0
votes
1answer
88 views

How do I get output size to stick? [duplicate]

I have increased size of text to something I can read comfortable. When I delete output and evaluate notebook again with any changes made, the output text size returns to eyestrain inducing size.
3
votes
2answers
506 views

Deleting Print results

While playing around with $Pre and $Post I created this very annoying piece of code: ...
2
votes
3answers
155 views

Function to preserve evaluation on display?

I'm looking for a function that applies the following behavior to an expression: -When the expression is given as the full input, or as part of a function that cannot be evaluated, it remains in ...
7
votes
3answers
577 views

Adding a label to an expression result

To make my notebook easier to read for non-Mathematica literate colleagues (myself included), I'd like to have the output from an assignment expression look somewhat more obvious. Normally an ...
10
votes
2answers
691 views

How to send output of Information[] command to a text file?

I am having little hard time sending output of Information[] command to a text file. related question How to write output to an external text file in addition to ...
3
votes
1answer
86 views

Is it possible to print more than last line with Get (<<) without using Print commands?

I want to run my Mathematica scripts from the terminal and I want it to print lines like MATLAB would. That is, suppress output by ending a line with ;, and ...
7
votes
3answers
269 views

Wrapping EventHandler by Table

I am making a grid on the screen. The grid is composed of different expressions. I want all of them to have a Gray background, which turns into a ...