Ask Your Question

# Take a screenshot, and transfer it to a windows partition/drive path?

I currently run Sage math 5.9 through, VirtualBox Fedora linux virtual machine, on Microsoft Windows 7.

I performed the following calculations.

eq1i = integral( sqrt( 1 + 1/(4*x))  )
f(x) = eq1i.subs(x=x)
show(eq1i)
float( f(4) - f(1) )


As you may see, I did show(eq1i), to display the integral result in a more readable format. I'd like to to take a screenshot of my results in Sage, so then I can use an image editing program in Windows, such as MS Paint or Adobe Photoshop, and crop out the result of show(eq1i), result.

edit retag close merge delete

## 1 Answer

Sort by » oldest newest most voted

In your case, show(eq1i) opens a PDF reader with the formula typeset with LaTeX in a PDF page. I did not try this with VirtualBox, but it is likely there is no PDF reader installed in the linux virtual machine.

If you want to see your formula in a nice format inside the notebook, just click on the "Typeset" button on the top of the notebook page.

Without it, you will get something like

sage: eq1i
sqrt(1/4/x + 1)*x - 1/8*log(sqrt(1/4/x + 1) - 1) + 1/8*log(sqrt(1/4/x + 1) + 1)


With it, you will get something like:

$$\sqrt{\frac{1}{4 \, x} + 1} x - \frac{1}{8} \, \log\left(\sqrt{\frac{1}{4 \, x} + 1} - 1\right) + \frac{1}{8} \, \log\left(\sqrt{\frac{1}{4 \, x} + 1} + 1\right)$$

If you want to have the same result than the one of the PDF page, you can do:

sage: latex(eq1i)


Which will return something like:

\sqrt{\frac{1}{4 \, x} + 1} x - \frac{1}{8} \,
\log\left(\sqrt{\frac{1}{4 \, x} + 1} - 1\right) + \frac{1}{8} \,
\log\left(\sqrt{\frac{1}{4 \, x} + 1} + 1\right)


Just copy-paste it in a LaTeX file and compile it (LaTeX runs on windows).

Otherwise, install linux (or run it from a live USB key), and copy the produced PDF file into your windows partition.

more

## Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

## Stats

Asked: 2013-09-03 14:16:08 +0200

Seen: 283 times

Last updated: Sep 04 '13