\documentclass{standalone}[20pt,a4paper] % Comment the following line to NOT allow the usage of umlauts \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[a4paper, lmargin=2cm, rmargin=2cm, bottom=2cm]{geometry} \usepackage{color} % Uncomment the following line to allow the usage of graphics (.png, .jpg) \usepackage{verbatim} \usepackage{graphicx} \usepackage{amsmath} \usepackage[all]{xy} \usepackage{pst-all} \usepackage{tikz} \usepackage{gnuplottex} %\usepackage{chronology} \usepackage{tablefootnote} \tikzset{flippedeventlabel/.append style={align=center}} \usetikzlibrary{matrix.skeleton} \usetikzlibrary{datavisualization} \usetikzlibrary[shapes,arrows,positioning,fit,backgrounds,intersections,shadows,calc,datavisualization.formats.functions] \usetikzlibrary{decorations.text} \pgfdeclarelayer{background layer} \pgfdeclarelayer{foreground layer} \pgfsetlayers{background layer,main,foreground layer} %\usetikzlibrary{datavisualization.formats.functions} \usepackage{pgf-pie} \usepackage{color,colortbl} \usepackage{pgfplots} \pgfplotsset{width=10cm,compat=1.9} \usepackage[colorlinks=true,linkcolor=black,citecolor=black,filecolor=magenta,urlcolor=blue]{hyperref} %Paquete de estilo de referencias \urlstyle{same} % Start the document \title{7. Gráficos de Sistemas Lineales en \LaTeX \ \& TIKZPICTURE} %\author{Nimrod Rodríguez} \begin{document} \maketitle \begin{center} \begin{align*} 7.\\ & 2x-y=5\\ & 5x+2y=8 \end{align*} \begin{tikzpicture}[domain = -1:3] \draw[very thin,color=gray] (-3.9,-3.9) grid (3.9,3.9); \draw[->,very thick] (-3,0) -- (4.2,0) node[right] {$x$}; \draw[->,very thick] (0,-3) -- (0,4.2) node[right] {$y$}; \draw[very thick,color=red] plot (\x,2*\x-5) node[right=0.5cm] {$\mathrm 2x-y =5$}; \draw[very thick,color=blue] plot (\x,-2.5*\x+4) node[below=0.5cm] {$\mathrm 5x+2y =8$}; \draw (2,-1) node[magenta,right=0.5cm] {$(x=2,y=-1)$}; \draw [fill=magenta] (2,-1) circle (0.1cm); % \x r means to convert ’\x’ from degrees to _r_adians: %\draw[color=blue,domain=0.005:3] plot (\x,{ln(\x)+ln(20)}) node[right] {$f^{-1}(x) = \ln x + \ln 20$}; %\draw[color=orange] plot (\x,{0.05*exp(\x)}) node[right] {$f(x) = \frac{1}{20} \mathrm e^x$}; \end{tikzpicture} \pagebreak \begin{align*} 8.\\ & 3x+2y=2\\ & x-7y=-30 \end{align*} \begin{tikzpicture}[domain = -3:1] \draw[very thin,color=gray] (-3.9,-1) grid (3.9,5); \draw[->,very thick] (-3,0) -- (4.2,0) node[right] {$x$}; \draw[->,very thick] (0,-3) -- (0,4.2) node[right] {$y$}; \draw[very thick,color=red] plot (\x,-1.5*\x+1) node[right=0.5cm] {$\mathrm 3x+2y =2$}; \draw[very thick,color=blue] plot (\x,1/7*\x+30/7) node[above=0.5cm] {$\mathrm x-7y =-30$}; \draw (-2,4) node[magenta,left=0.6cm] {$(x=-2,y=4)$}; \draw [fill=magenta] (-2,4) circle (0.1cm); \end{tikzpicture} \end{center} % Aquí termina la trama más grande \ hskip 5pt % Aquí comienza la trama 3d %\begin {tikzpicture} %\begin {axis} %\addplot 3[mesh]{x^2+y^2}; %\end {axis} %\end {tikzpicture} %\\ %\begin{tikzpicture} %\begin{pgfonlayer}{background layer} %\fill[blue!75!red!35! magenta] (-6,-3.) rectangle (6,3); %\end{pgfonlayer} %\begin{pgfonlayer}{foreground layer} %\fill[black, rounded corners] (-1,2.08) rectangle (1.8,2.29); %\draw (0.4,2.2) node [black] {\tiny{\textcolor{white}{\bf Libro de Josué}}}; %\end{pgfonlayer} %\draw %[help lines,white] grid (3,2); %\begin{pgfonlayer}{foreground layer} %\draw [black, rounded corners,line width=11pt] %{(0,0) arc[radius=1.51cm,start angle=172,end angle=7,rounded corners]}; %\path [decorate, decoration={text along path,text format delimiters={[}{]}, %text={[\color{white}\bf\tiny]\ \ \ \ 3 [][\color{yellow}\bf]Mas los moradores de Gabaon, cuando oyeron lo que[] [\color{yellow}\bf]Josue[] [\color{yellow}\bf]habia hecho a[] [\color{yellow}\bf]Jerico y a Hai.}}] %{ (-1,0.2) arc (-190:0:1) arc (0:180:1.2) arc (180:360:1.4) arc (360:555:1.6)}; %\path [decorate, decoration={text along path,text format delimiters={[}{]}, %text={[\color{white}\bf\tiny]4 [][\color{orange}\bf]usaron de astucia; pues fueron y se fingieron[] [\color{orange}\bf]embajadores,[] [\color{orange}\bf]y tomaron sacos viejos sobre sus asnos,[] [\color{orange}\bf]y cueros viejos de vino, rotos y remendados, [][\color{white}\bf\tiny]Josue 9: 3 - 4}}] %{ (-1.8,0) arc (-180:0:1.8) arc (0:180:2) arc (180:360:2.2) arc (360:560:2.4)}; %\path [decorate,decoration={text along path,text color=green!70!blue, %text={Deuteronomio 28:2}}] %(-0.7,-0.5) [rotate=126]ellipse (1.9cm and 1.5cm); %\draw (1.6,0.1) node {\textcolor{white}{6: 5}}; %\draw[green,right] (-1.5,-1.25) node {\tiny{\underline{\bf{Deuteronomio 6: 4}}}}; %\path [decorate,decoration={text along path, %text={Numeros 6:25 }}]{(0.75,-0.8) arc[radius=0.85cm,start angle=160,end angle=20]}; %\end{pgfonlayer} %\end{tikzpicture} %\\ %\vspace{50pt} %\begin{tikzpicture} %\draw [help lines] grid (3,2); %\fill [draw=black,fill=white, %postaction={decorate,decoration={raise=2.5pt,text along path,text color=green!70!blue, %text=\ \ \ La Palabra de Dios\ \ \ \ \ \ \ Sagradas \ Escrituras}}] %(0,1) arc (180:-180:1.2cm and 1.2cm); %\end{tikzpicture} %\vspace{1cm} %\begin{tiny} %\tikz \draw (1.5,0.6) node[information text/.style={butt corners=1cm,inner sep=2ex},,line cap=round,fill=blue!75!red!35! magenta,text width=4.6cm] %{\begin{minipage}{1\textwidth} % \textbf{\textcolor{black}{$^{5}$}} |\bf\color{white}|Solamente que con diligencia cuidéis de cumplir el mandamiento y la ley que Moisés siervo de \bf\color{yellow}{Jehová} %\bf\color{white}os ordenó: que améis a \bf\color{yellow}{Jehová} %\bf\color{white}vuestro Dios, y andéis en todos sus caminos; que guardéis sus mandamientos, y le sigáis a él, y le sirváis de todo vuestro corazón y de toda vuestra alma. %\textbf{\textcolor{yellow}{$^{16}$}} %\textbf{\textcolor{white}{Porque abominación es a}} %\bf\color{orange}{Jehová} %\textbf{\textcolor{white}{tu}} %\bf\color{orange}{Dios} %\textbf{\textcolor{white}{cualquiera que hace esto, y cualquiera que hace injusticia.}} %\begin{flushright} %|\bf\color{black}|Josué 22: \bf\color{white}{5} %\end{flushright} %\end{minipage}}; %\end{tiny} %\\ %\vspace{1cm} %\begin{tikzpicture} %\draw [help lines] grid (3,2); %\begin{pgfonlayer}{background layer} %\fill[brown!35!black,rounded corners] (-5,-4.5) rectangle (12,4.5); %\end{pgfonlayer} %\path [decorate,decoration={text along path, %text={|\bf\color{white} |{$^{10}$} |\large\bf\color{orange}|Pero no arrojaron al cananeo |\large\bf\color{orange}|que habitaba en |\large\bf\color{white}|Gezer, |\large\bf\color{orange}|antes quedo el cananeo en medio de |\large\bf\color{white}|Efrain |\large\bf\color{orange}|hasta hoy, y fue tributario.}}] %(-4,-3) cos (-2.5,0) sin (-1,3) cos (0.5,0) sin (2,-3) cos (3.5,0) sin (5,3) cos (6.5,0) sin (8,-3) cos (9.5,0) sin (11,3) cos (12.5,0); %\path [decorate,decoration={text along path, %text={|\large\bf\color {blue}|dia entero. |\bf\color {white}|Josue. 10: 13}}] %(-1.5,0.5) parabola bend (3,1)(7.5,0.5); %\draw (4.8,-0.5) node {|\bf\color {white}|Josué 16: 10}; %\end{tikzpicture} %\begin{tikzpicture} %\begin{pgfonlayer}{background layer} %\fill[blue] (0,1.5) ellipse (6cm and 4cm); %\fill[blue,rounded corners] (-6,-1.5) rectangle (6,5.5); %\draw %(0,-0.5) node {\color {white}\large{\bf{$\overline{x} \approx Mo \approx Me$}}}; %\end{pgfonlayer} %\draw[very thick,white](-5,-0.1) .. controls (-3.6,-0.05) .. (-3.5,0.1); %\draw[black,very thick](-5,-0.1) -- (5,-0.1); %\path [decorate,decoration={text along path, %text={ | \bf\color{white}|..... Distribucion muestral con tendencia simetrica o insesgada ..... }}] %(-3.5,0.1) .. controls (0,6) .. (3.5,0.1); %\draw[very thick,white](5,-0.1) .. controls (3.6,-0.05) .. (3.5,0.1); %\draw [<->, dashed, white, ultra thick] (0,-0.1) to (0,4.5); %\draw (0,4.8) node {\color{white}{\bf{\large{Simétrica o insesgada}}}}; %\end{tikzpicture}   %\end{center} % Create a new 1st level heading % Uncomment the following two lines if you want to have a bibliography. Please do not forget to add an entry to your bibliography and reference it by using the %\cite{} command %\bibliographystyle{alphadin} %\bibliography{document} %\renewcommand %\refname{\section*{Referencias}} %\begin{thebibliography}{5} %\end{thebibliography} \begin{center} \section*{C. Realice las siguientes tablas de verdad} Tabla para: $ (\textcolor{blue}{p} \ \wedge \ \textcolor{blue}{q}) \Leftrightarrow \ (\textcolor{blue}{p} \ \vee \ \textcolor{blue}{q})$\\ \vspace{0.5cm} \begin{tabular}{|c|c|c|c|c|} \hline \rowcolor{gray!20} \textcolor{blue}{p} & \textcolor{blue}{q} & $\textcolor{blue}{p} \ \wedge \ \textcolor{blue}{q}$ & $\textcolor{blue}{p} \ \vee \ \textcolor{blue}{q}$ & $ (\textcolor{blue}{p} \ \wedge \ \textcolor{blue}{q}) \Leftrightarrow \ (\textcolor{blue}{p} \ \vee \ \textcolor{blue}{q})$\\ \hline v & v & v & v & v \\ \hline v & f & f & v & f \\ \hline f & v & f & v & f \\ \hline f & f & f & f & v \\ \hline \end{tabular}\\ \vspace{.4cm} \end{center} \pagebreak \begin{enumerate} \item Está lloviendo y hace calor. $\mapsto \ p \wedge q$\\ $p$: Está lloviendo\\ $q$: Hace calor\\ \item Nuestra bandera es blanca y celeste. $\mapsto \ p$\\ NOTA: La proposición es simple porque enuncia una sola caracteristica de la bandera, sus colores. \item Marcos se dedica a la natación o al alpinismo. $\mapsto \ p \vee q$\\ $p$: Marcos se dedica a la natación.\\ $q$: Marcos se dedica al alpinismo.\\ \item El número 6 es mayor que el 3 y menor que el 7. $\mapsto \ p \wedge q$\\ $p$:El número 6 es mayor que el 3\\ $q$: El número 6 es menor que el 7\\ \item He pasado todas mis vacaciones en Grecia y Marruecos. $\mapsto \ p$\\ NOTA: La proposición es simple porque enuncia una sola caracteristica, los lugares donde pasó todas sus vacaciones.\\ \item Quiero salir, pero no puedo.$\mapsto \ p\ \wedge \sim q$\\ $p$: Quiero salir.\\ $q$: Puedo salir.\\ NOTA: Aunque el vocablo "pero" no es exactamente un conectivo lógico, sino más bien un adverbio de negación, en algunas ocasiones puede ser equivalente al conectivo conjuntivo "y" ($\wedge $). \item La realidad supera a la ficción y él no puede creerlo. $\mapsto \ p\ \wedge \sim q$\\ $p$: La realidad supera a la ficción.\\ $q$: Él puede creer que la realidad supera a la ficción.\\ \item El televisor no funciona si no lo enchufas. CONTRAPOSITIVA: $ \sim q\ \Rightarrow \ \sim p$ de la proposición compuesta: \\ Si enchufas el televisor entonces el televisor funciona.\\ $ p\ \Rightarrow \ q$\\ $p$: Enchufas el televisor.\\ $q$: El televisor funciona.\\ \item No tenemos más alternativas.\\ Negación $\sim \ p$ de la proposición simple:\\ $p$: Tenemos más alternativas. \end{enumerate} % End of the document \begin{center} \begin{tikzpicture} \pie [rotate = 180,explode=0.1,text=pin,radius=2, style = drop shadow] {20/\TeX\ Live and Mac\TeX, 32/MiK\TeX\ and Pro\TeX t, 6/Other \TeX, 42/\LaTeX} \end{tikzpicture} \pagebreak \begin{figure*}[ht] \centering \begin{tikzpicture} \begin{axis}[width=0.81\textwidth, height=3.5in, xbar, bar width=20pt, xmin=0, xmax=100, symbolic y coords={Nonalphanumeric, Numbers, Uppercase Letters, Lowercase Letters}, ytick=\empty, xmajorgrids ] \addplot [fill=blue!30,draw=blue] coordinates {(64,Nonalphanumeric) (85,Numbers) (62,Uppercase Letters) (83,Lowercase Letters)} node [minimum size=0pt,inner sep=0pt,right,pin={[font=\footnotesize,pin distance=0.3cm]0:64 (52.5\%)}] at (axis cs:64,Nonalphanumeric) {} node [minimum size=0pt,inner sep=0pt,right,pin={[font=\footnotesize,pin distance=0.3cm]0:85 (69.7\%)}] at (axis cs:85,Numbers) {} node [minimum size=0pt,inner sep=0pt,right,pin={[font=\footnotesize,pin distance=0.3cm]0:62 (50.8\%)}] at (axis cs:62,Uppercase Letters) {} node [minimum size=0pt,inner sep=0pt,right,pin={[font=\footnotesize,pin distance=0.3cm]0:83 (68\%)}] at (axis cs:83,Lowercase Letters) {} coordinate (symb) at (axis cs:0,Nonalphanumeric) coordinate (num) at (axis cs:0,Numbers) coordinate (uprcase) at (axis cs:0,Uppercase Letters) coordinate (lwrcase) at (axis cs:0,Lowercase Letters); \end{axis} \node [font=\small,above left] at (symb) {Alfanuméricos Comunes}; \node [font=\small,left] at (symb) {(signos de puntuación,}; \node [font=\small,below left] at (symb) {\#, \&, @, etc.)}; \node [font=\small,left] at (num) {Números}; \node [font=\small,left] at (uprcase) {Letras Mayúsculas}; \node [font=\small,left] at (lwrcase) {Letras Minúsculas}; \end{tikzpicture} \caption{Tendencia Sobre Caracteres Incluidos En Una Contraseña} \label{fig:Chara} \end{figure*} \end{center} \end{document}