Informatics1-2017/HW5
A MathWikiből
(Változatok közti eltérés)
(Új oldal, tartalma: „=== Feladat === Reprodukáljátok az alábbi dokumentumot latex-ben: [http://math.bme.hu/~kkovacs/info1/hazi8.pdf hazi8.pdf] A megoldást e-mailben a [http://wiki.math…”) |
|||
1. sor: | 1. sor: | ||
=== Feladat === | === Feladat === | ||
− | + | Reproduce the following pdf document using latex: [http://math.bme.hu/~kkovacs/info1/hazi8.pdf hazi8.pdf] | |
− | + | In the email attach the .tex and the .pdf files only. | |
− | === | + | === Help === |
− | + | These are the commands that we didn't use on the practical or the lecture, but are still required to create some of the formulas in the homework: | |
<latex> | <latex> | ||
− | \lim % | + | \lim % limit, example: \lim_{x\to \infty} |
− | \in % | + | \in % element symbol |
− | \notin % | + | \notin % element symbol striked through |
− | \cos % | + | \cos % cosinus |
− | \sin % | + | \sin % sinus |
− | \cdot % | + | \cdot % center dot (to emphasize multiplication |
− | \qquad % | + | \qquad % big space in math mode |
− | \mapsto % | + | \mapsto % "maps to" arrow |
− | \backslash % | + | \backslash % backwards slash: \ |
− | \ln % | + | \ln % logarithm |
− | \prod % | + | \prod % product |
− | \sqrt[k]{n} % | + | \sqrt[k]{n} % kth root of n |
− | \min % | + | \min % minimum |
− | \max % | + | \max % maximum |
</latex> | </latex> | ||
− | + | For most sections I used the '''align*''' environment to write stuff in multiple lines, using the following format: | |
<latex> | <latex> | ||
\begin{align*} | \begin{align*} | ||
− | & | + | &formula1 &&formula2 &&formula3, \\ |
− | & | + | &formula4 &&formula5 &&formula6 |
\end{align*} | \end{align*} | ||
</latex> | </latex> | ||
− | + | The first & aligns the formulas, and every second & creates some whitespace between the formulas. | |
− | + | I used the following format for the '''cases''' enviroment: | |
<latex> | <latex> | ||
− | + | function \qquad x \mapsto \begin{cases} | |
− | + | value1, &\text{ if } condition1 \text{ and } condition2 \\ | |
− | + | value2, &\text{ if } condition2 | |
\end{cases} | \end{cases} | ||
</latex> | </latex> | ||
− | A | + | A little help with the title, you can put a '''\\''' (newline) in the title as well. |
A lap 2017. október 17., 15:26-kori változata
Feladat
Reproduce the following pdf document using latex: hazi8.pdf
In the email attach the .tex and the .pdf files only.
Help
These are the commands that we didn't use on the practical or the lecture, but are still required to create some of the formulas in the homework:
\lim % limit, example: \lim_{x\to \infty} \in % element symbol \notin % element symbol striked through \cos % cosinus \sin % sinus \cdot % center dot (to emphasize multiplication \qquad % big space in math mode \mapsto % "maps to" arrow \backslash % backwards slash: \ \ln % logarithm \prod % product \sqrt[k]{n} % kth root of n \min % minimum \max % maximum
For most sections I used the align* environment to write stuff in multiple lines, using the following format:
\begin{align*} &formula1 &&formula2 &&formula3, \\ &formula4 &&formula5 &&formula6 \end{align*}
The first & aligns the formulas, and every second & creates some whitespace between the formulas.
I used the following format for the cases enviroment:
function \qquad x \mapsto \begin{cases} value1, &\text{ if } condition1 \text{ and } condition2 \\ value2, &\text{ if } condition2 \end{cases}
A little help with the title, you can put a \\ (newline) in the title as well.