Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. \documentclass{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{amsmath}
  4.  
  5. \begin{document}
  6.  
  7. %--------------------------------------------------------------------------------
  8. \section{First example}
  9.  
  10. The well known Pythagorean theorem \(x^2 + y^2 = z^2\) was
  11. proved to be invalid for other exponents.
  12. Meaning the next equation has no integer solutions:
  13.  
  14. \[ x^n + y^n = z^n \]
  15.  
  16.  
  17. %--------------------------------------------------------------------------------
  18.  
  19. \section{Second example}
  20.  
  21. In physics, the mass-energy equivalence is stated by the equation $E=mc^2$, discovered in 1905 by Albert Einstein.
  22.  
  23. The mass-energy equivalence is described by the famous equation
  24. \[ E=mc^2 \]
  25. discovered in 1905 by Albert Einstein.
  26. In natural units ($c$ = 1), the formula expresses the identity
  27. \begin{equation}
  28. E=m
  29. \end{equation}
  30.  
  31. \section{Third example}
  32.  
  33. This is a simple math expression \(\sqrt{x^2+1}\) inside text.
  34. And this is also the same:
  35. \begin{math}
  36. \sqrt{x^2+1}
  37. \end{math}
  38. but by using another command.
  39.  
  40. This is a simple math expression without numbering
  41. \[\sqrt{x^2+1}\]
  42. separated from text.
  43.  
  44. This is also the same:
  45. \begin{displaymath}
  46. \sqrt{x^2+1}
  47. \end{displaymath}
  48.  
  49. \ldots and this:
  50. \begin{equation*}
  51. \sqrt{x^2+1}
  52. \end{equation*}
  53.  
  54. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement