12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

276 • Chapter 7: Input and Output> restart:> expr;exprUse the read command to retrieve the expressions that you saved inqbinom.m.> read "qbinom.m";Now expr has its value again.> expr;(1 − q 7 ) (1 − q 8 ) (1 − q 9 ) (1 − q 10 )(1 − q) (1 − q 2 ) (1 − q 3 ) (1 − q 4 )For more information on the read command, see section 7.1.Converting to L A TEX FormatTEX is a program for typesetting mathematics, and L A TEX is a macropackage for TEX. The latex command converts Maple expressions toL A TEX format. You can perform conversion to L A TEX by using the latexcommand. Thus, you can use Maple to solve a problem, then convert theresult to L A TEX code that can be included in a L A TEX document. Use thelatex command in the following manner.latex( expr, "filename" )The expr can be any mathematical expression. Maple-specific expressions,such as procedures, are not translatable. The filename is optional,and specifies that Maple writes the translated output to the file you specified.If you do not specify a filename, Maple writes the output to thedefault output stream (your session).The latex command writes the L A TEX code corresponding to theMaple expression expr to the file filename. If filename exists, latex overwritesit. If you omit filename, latex prints the L A TEX code on the screen.You can cut and paste from the output into your L A TEX document.> latex( a/b );{\frac {a}{b}}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!