Advertisement
nm9505

Geometric Distribution LaTexScript

Feb 18th, 2025
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 2.38 KB | Science | 0 0
  1. \documentclass{article}[14pt,a4paper] % Comment the following line to NOT allow the usage of umlauts %\usepackage[utf8]{inputenc}
  2. %\useusepackage[utf8]{imputenc}
  3. %\usepackage[a4paper, lmargin=2cm, rmargin=2cm, bottom=2cm]{geometry}
  4. \usepackage{color}
  5. % Uncomment the following line to allow the usage of graphics (.png, .jpg)
  6. \usepackage{multicol} \usepackage{verbatim} \usepackage{graphicx} \usepackage{amsmath} \usepackage[all]{xy} \usepackage{pst-all} \usepackage{tikz} \usepackage{gnuplottex} \usepackage{pst-pdf} \usepackage{mathtools,amssymb}
  7. %\usepackage{xcolor}
  8. \usepackage{tikz-3dplot}
  9.  %\usepackage[colorlinks=true,linkcolor=magenta,citecolor=blue,filecolor=magenta,url(color=blue]{hyperref} \urlstyle{same}
  10.  
  11. \tikzset{flippedeventlabel/.append style={align=center}} \usetikzlibrary{datavisualization} \usetikzlibrary{matrix.skeleton} \usetikzlibrary[shapes,arrows,positioning,fit,backgrounds,intersections,shadows,calc] \usetikzlibrary{positioning} \usetikzlibrary{decorations.text} \usetikzlibrary{decorations.pathmorphing} \usepackage{pgfplots} \pgfplotsset{width=10cm,compat=1.9} \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  12. %\psset{viewpoint=10 18 60 rtp2xyz,Decran=10,fontsize=10,unit=0.65cm}
  13. \usetikzlibrary{patterns}
  14. % Start the document
  15. \begin{document} \pagecolor{black} \begin{center} \tdplotsetmaincoords{10}{110}
  16. \begin{tikzpicture}[scale=1.5]
  17. \draw [white] node at (3,1){\textbf{\textcolor{green}{\Huge{Función de Densidad Geométrica}}}}; \draw [white] node at (3,-0.5) { \begin{minipage}{13cm}\textcolor{white}{\bf\huge{Sea $\mathsf{X}$ la variable aleatoria que mide la cantidad de fallos $\mathsf{x}$, con probabilidad $\mathsf{1-p}$, hasta obtener un éxito, de manera que $\mathsf{x = 0, 1, 2, \cdots,}$entonces:}}\\ \end{minipage}; }; \draw [white] node at (3,-2){\textbf{\huge{$\mathsf{ f(x)\ = \  p(1-p)^x}$ }}}; \draw [white] node at (3,-3){\textbf{\textcolor{green}{\Huge{Función Acumulada Geométrica}}}};
  18. \draw [white] node at (3,-4){\bf\huge{$\mathsf{\displaystyle{P(X \leq x) = F(x)\ = 1-(1-p)^{x+1}}}$ }};
  19. \draw [white] node at (3,-6) { \begin{minipage}{13cm}\textcolor{white}{\bf\huge{De acuerdo al cálculo del primer y segundo momento se obtiene que:
  20. \begin{itemize}
  21. \item Media: $\mathsf{\mu\ =\frac{1}{p}}$
  22. \item Varianza: $\mathsf{\sigma^2\ =\frac {1-p}{p^2}}$
  23. \end{itemize} }} \end{minipage}; }; \end{tikzpicture} \end{center}  
  24. \end{document}
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement