Questions tagged [output]

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.

Note: the tag is more appropriate for questions on modifying the form of existing output behavior.

334 questions
17
votes
5 answers

Breaking up long equations in TeXForm

If I have a horrifically long expression and output it to TeX using TeXForm, I get a long equation which needs to be split up into multiple lines. But splitting it up manually can be quite cumbersome. Is there a solution to this within Mathematica,…
Adam
  • 709
  • 6
  • 11
10
votes
2 answers

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 the standard output stream? I'd like to find what is the correct way to do this. I…
Nasser
  • 143,286
  • 11
  • 154
  • 359
6
votes
2 answers

How to write a string verbatim

I'm trying to write a function which takes some strings, manipulates them, and writes the result to a file. Here's a small example which recreates the behavior I'm seeing: writefile[instr1_, instr2_, filename_] := Module[{str1, outstr, stream}, …
David
  • 185
  • 3
5
votes
1 answer

What is the meaning after a number with a ` symbol?

Sometimes, when copy pasting some output obtained in Mathematica I obtained a weird comma after a number and then more numbers. Imagine, and output for a computation is 0.4244131815783875620503567023 m where m is a variable. Then I copy paste this…
PhoenixPerson
  • 553
  • 2
  • 10
4
votes
1 answer

Scroll To Bottom Of Output Automatically

Is there a way to get Mathematica to automatically scroll to the bottom of output similar to a terminal on cell evaluation? Doing a quick search for output in Ctrl+Shift+O I get the following options. ScrollUndo, CellHorizontalScrolling, Scrollbars
William
  • 7,595
  • 2
  • 22
  • 70
3
votes
1 answer

How to summarize an expression

Is there a similar command as str in R in Mathematica? > str(iris) 'data.frame': 150 obs. of 5 variables: $ Sepal.Length: num 5.1 4.9 4.7 4.6 5 5.4 4.6 5 4.4 4.9 ... $ Sepal.Width : num 3.5 3 3.2 3.1 3.6 3.9 3.4 3.4 2.9 3.1 ... $…
Kattern
  • 2,561
  • 19
  • 35
3
votes
2 answers

How to improve the output to make it look like a detailed formula?

I'm using Mathematica for some calculations that I need to put into the report. As a text editor I'm using MS Word + MathType, but that is not the main case. The thing is that I have to format my calculations like this: Let R = 3. Then, the volume…
Dimitry
  • 31
  • 4
2
votes
1 answer

What's the meaning of <<19>> in the result

Try the following: Ty1 = {11, 13, 19, 22, 27, 30, 41}; Tm1 = {0.4125, 0.42, 0.4933, 0.525, 0.539, 0.575, 0.52}; Tx2 = {20, 18, 35, 37, 38, 44, 57}; Tm2 = {0.5625, 0.47, 0.58, 0.59, 0.57, 0.6, 0.58}; Tx3 = {9, 12, 19, 21, 24, 27, 32}; Tm3 = {1.044,…
haoyouqm
  • 23
  • 2
2
votes
2 answers

Express HarmonicNumber as sum

If you run the following code, the fifth harmonic number is not evaluated as a sum. Table[HarmonicNumber[i,-1/2],{i,0,5}] How can I get Mathematica to output Harmonic numbers as a sum. I tried normal and normal form, but they didn't work. Also, I…
ions me
  • 881
  • 5
  • 11
1
vote
1 answer

Meaning of Out[0]

After some long computations, I obtain %//ExpandAll Out[0] I want to know the meaning of Out[0]. Does this mean my expression % is zero?
phy_math
  • 873
  • 4
  • 9
1
vote
1 answer

No output showing up for example functions

I am total beginner to Mathematica. I am following some examples from here However, if I run some function, for example, MiniMaxApproimation, then I get no output. 1]: [![https://i.stack.imgur.com/LC9Q8.png However, on website the output looks like…
1
vote
0 answers

Result not evaluated

When I type: QuantityMagnitude[3.4 m] I got only the same sentence as a result. I am expecting 3.4 Trying to figure out what is not working, N[Sqrt[2]] produced, as expected: 1.41421. What might be wrong here?
pigeon
  • 43
  • 6
1
vote
0 answers

Output from Solve is { }

Why is the answer (output) from the Solve expression shown below {}? Can someone please tell me what's wrong with the expression. I want to know σ1 and σ2}. Solve[{S - N1 == 0, S - N2 == 0, σ1 == N1/A1, σ2 == N2/A2}, {σ1, σ2}]
marcus
  • 11
  • 1
1
vote
0 answers

automatically apply Chop to outputs?

Is there a common trick to automatically show output with "Chop" applied? I typically get results like below, which hinders readability {{1., -2.08167*10^-16, -1.73472*10^-18}, {-2.08167*10^-16, 1., 3.19189*10^-16}, {-1.73472*10^-18,…
Yaroslav Bulatov
  • 7,793
  • 1
  • 19
  • 44
1
vote
0 answers

Out[ ] cells suddenly begin with newline

This is a "feature" of Mathematica that persists through several versions. What happens: Mathematica experiences some internal hiccup and from then on starts every Out[ ] cell with a newline, which is extremely annoying. I tried to figure out how to…
chizhek
  • 111
  • 3
1
2