Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. documentclass[12pt]{article}
  2. usepackage{amsmath}
  3. usepackage{amssymb}
  4. title{A test file}
  5.  
  6. begin{document}
  7. maketitle
  8.  
  9. *Show_first_line = True*
  10. *Show_second_line = False*
  11.  
  12. section{Density functional theory}
  13.  
  14. *if Show_first_line == True: #Now the following formula should be compiled*
  15. $$
  16. i hbar frac{partial Phi(mathbf{r}, mathbf{R} ; t)}{partial t}=left(-frac{hbar^{2}}{2 M} frac{partial^{2}}{partial mathbf{R}^{2}}-frac{hbar^{2}}{2 m} frac{partial^{2}}{partial mathbf{r}^{2}}+V(mathbf{r}, mathbf{R})right) Phi(mathbf{r}, mathbf{R} ; t)
  17. $$
  18. *else:*
  19. $$
  20. i hbar frac{partial Phi(mathbf{r}, mathbf{R} ; t)}{partial t}=left( -frac{hbar^{2}}{2 m} frac{partial^{2}}{partial mathbf{r}^{2}}+V(mathbf{r}, mathbf{R})right) Phi(mathbf{r}, mathbf{R} ; t)
  21. $$
  22.  
  23. *if Show_second_line == True # In case it is false, nothing should be compiled*
  24. $$
  25. mathrm{M} gg mathrm{m} text { the Born-Oppenheimer approximation }
  26. $$
  27.  
  28. $$
  29. i hbar frac{partial Phi(mathbf{r}, mathbf{R} ; t)}{partial t}=
  30. left( -frac{hbar^{2}}{2 m} frac{partial^{2}}{partial mathbf{r}^{2}}+V(mathbf{r}, mathbf{R})right) Phi(mathbf{r}, mathbf{R} ; t)
  31. $$
  32.  
  33. $$
  34. M ddot{mathbf{R}}=-frac{partial E(mathbf{R})}{partial mathbf{R}} \
  35. left(-frac{hbar^{2}}{2 m} frac{partial^{2}}{partial mathbf{r}^{2}}+V(mathbf{r}, mathbf{R})right) Psi(mathbf{r} | mathbf{R})=E(mathbf{R}) Psi(mathbf{r} | mathbf{R})
  36. $$
  37.  
  38. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement