nm9505

Tarea de Sofi

May 17th, 2023
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 12.58 KB | Science | 0 0
  1. \documentclass{standalone}[20pt,a4paper]
  2. % Comment the following line to NOT allow the usage of umlauts
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[english]{babel}
  5. \usepackage[a4paper, lmargin=2cm, rmargin=2cm, bottom=2cm]{geometry}
  6. \usepackage{color}
  7. % Uncomment the following line to allow the usage of graphics (.png, .jpg)
  8. \usepackage{verbatim}
  9. \usepackage{graphicx}
  10. \usepackage{amsmath}
  11. \usepackage[all]{xy}
  12. \usepackage{pst-all}
  13. \usepackage{tikz}
  14. \usepackage{gnuplottex}
  15. %\usepackage{chronology}
  16. \usepackage{tablefootnote} \tikzset{flippedeventlabel/.append style={align=center}}
  17. \usetikzlibrary{matrix.skeleton}
  18. \usetikzlibrary{datavisualization} \usetikzlibrary[shapes,arrows,positioning,fit,backgrounds,intersections,shadows,calc,datavisualization.formats.functions]
  19. \usetikzlibrary{decorations.text}
  20. \pgfdeclarelayer{background layer}
  21. \pgfdeclarelayer{foreground layer}
  22. \pgfsetlayers{background layer,main,foreground layer}
  23. %\usetikzlibrary{datavisualization.formats.functions}
  24. \usepackage{pgf-pie}
  25. \usepackage{color,colortbl}
  26. \usepackage{pgfplots}
  27. \pgfplotsset{width=10cm,compat=1.9}
  28. \usepackage[colorlinks=true,linkcolor=black,citecolor=black,filecolor=magenta,urlcolor=blue]{hyperref}
  29. %Paquete de estilo de referencias
  30. \urlstyle{same}
  31. % Start the document
  32. \title{7. Gráficos de Sistemas Lineales en \LaTeX \  \& TIKZPICTURE}
  33. %\author{Nimrod Rodríguez}
  34. \begin{document}
  35. \maketitle
  36. \begin{center}
  37. \begin{align*}
  38. 7.\\
  39. & 2x-y=5\\
  40. & 5x+2y=8
  41. \end{align*}
  42. \begin{tikzpicture}[domain = -1:3]
  43. \draw[very thin,color=gray] (-3.9,-3.9) grid (3.9,3.9);
  44. \draw[->,very thick] (-3,0) -- (4.2,0) node[right] {$x$};
  45. \draw[->,very thick] (0,-3) -- (0,4.2) node[right] {$y$};
  46. \draw[very thick,color=red] plot (\x,2*\x-5) node[right=0.5cm] {$\mathrm 2x-y =5$};
  47. \draw[very thick,color=blue] plot (\x,-2.5*\x+4) node[below=0.5cm] {$\mathrm 5x+2y =8$};
  48. \draw (2,-1) node[magenta,right=0.5cm] {$(x=2,y=-1)$};
  49. \draw [fill=magenta] (2,-1) circle (0.1cm);
  50. % \x r means to convert ’\x’ from degrees to _r_adians:
  51. %\draw[color=blue,domain=0.005:3] plot (\x,{ln(\x)+ln(20)}) node[right] {$f^{-1}(x) = \ln x + \ln 20$};
  52. %\draw[color=orange] plot (\x,{0.05*exp(\x)}) node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
  53. \end{tikzpicture}
  54. \pagebreak
  55. \begin{align*}
  56. 8.\\
  57. & 3x+2y=2\\
  58. & x-7y=-30
  59. \end{align*}
  60. \begin{tikzpicture}[domain = -3:1]
  61. \draw[very thin,color=gray] (-3.9,-1) grid (3.9,5);
  62. \draw[->,very thick] (-3,0) -- (4.2,0) node[right] {$x$};
  63. \draw[->,very thick] (0,-3) -- (0,4.2) node[right] {$y$};
  64. \draw[very thick,color=red] plot (\x,-1.5*\x+1) node[right=0.5cm] {$\mathrm 3x+2y =2$};
  65. \draw[very thick,color=blue] plot (\x,1/7*\x+30/7) node[above=0.5cm] {$\mathrm x-7y =-30$};
  66. \draw (-2,4) node[magenta,left=0.6cm] {$(x=-2,y=4)$};
  67. \draw [fill=magenta] (-2,4) circle (0.1cm);
  68. \end{tikzpicture}
  69. \end{center}
  70.  % Aquí termina la trama más grande \ hskip 5pt % Aquí comienza la trama 3d
  71. %\begin {tikzpicture}
  72. %\begin {axis}
  73. %\addplot  3[mesh]{x^2+y^2};
  74. %\end {axis}
  75. %\end {tikzpicture}
  76. %\\
  77. %\begin{tikzpicture}
  78. %\begin{pgfonlayer}{background layer}
  79. %\fill[blue!75!red!35! magenta] (-6,-3.) rectangle (6,3);
  80. %\end{pgfonlayer}
  81. %\begin{pgfonlayer}{foreground layer}
  82. %\fill[black, rounded corners] (-1,2.08) rectangle (1.8,2.29);
  83. %\draw (0.4,2.2) node [black] {\tiny{\textcolor{white}{\bf Libro de Josué}}};
  84.  
  85. %\end{pgfonlayer}
  86.  
  87. %\draw
  88. %[help lines,white] grid (3,2);
  89. %\begin{pgfonlayer}{foreground layer}
  90. %\draw [black, rounded corners,line width=11pt]
  91. %{(0,0) arc[radius=1.51cm,start angle=172,end angle=7,rounded corners]};
  92.  
  93. %\path [decorate, decoration={text along path,text format delimiters={[}{]},
  94. %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.}}]
  95. %{ (-1,0.2) arc (-190:0:1) arc (0:180:1.2) arc (180:360:1.4) arc (360:555:1.6)};
  96.  
  97. %\path [decorate, decoration={text along path,text format delimiters={[}{]},
  98. %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}}]
  99. %{ (-1.8,0) arc (-180:0:1.8) arc (0:180:2) arc (180:360:2.2) arc (360:560:2.4)};
  100. %\path  [decorate,decoration={text along path,text color=green!70!blue,
  101. %text={Deuteronomio 28:2}}]
  102. %(-0.7,-0.5) [rotate=126]ellipse (1.9cm and 1.5cm);
  103. %\draw (1.6,0.1) node {\textcolor{white}{6: 5}};
  104. %\draw[green,right] (-1.5,-1.25) node {\tiny{\underline{\bf{Deuteronomio 6: 4}}}};
  105. %\path  [decorate,decoration={text along path,
  106. %text={Numeros 6:25 }}]{(0.75,-0.8) arc[radius=0.85cm,start angle=160,end angle=20]};
  107. %\end{pgfonlayer}
  108. %\end{tikzpicture}
  109. %\\
  110. %\vspace{50pt}
  111. %\begin{tikzpicture}
  112. %\draw [help lines] grid (3,2);
  113. %\fill [draw=black,fill=white,
  114. %postaction={decorate,decoration={raise=2.5pt,text along path,text color=green!70!blue,
  115. %text=\ \ \ La Palabra de Dios\ \ \ \ \ \ \ Sagradas \ Escrituras}}]
  116. %(0,1) arc (180:-180:1.2cm and 1.2cm);
  117.  
  118. %\end{tikzpicture}
  119.  
  120. %\vspace{1cm}
  121. %\begin{tiny}
  122. %\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]
  123. %{\begin{minipage}{1\textwidth}
  124. % \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á}
  125. %\bf\color{white}os ordenó: que améis a \bf\color{yellow}{Jehová}
  126. %\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.
  127.  
  128. %\textbf{\textcolor{yellow}{$^{16}$}}
  129. %\textbf{\textcolor{white}{Porque abominación es a}}
  130. %\bf\color{orange}{Jehová}
  131. %\textbf{\textcolor{white}{tu}}
  132. %\bf\color{orange}{Dios}
  133. %\textbf{\textcolor{white}{cualquiera que hace esto, y cualquiera que hace injusticia.}}
  134. %\begin{flushright}
  135. %|\bf\color{black}|Josué 22: \bf\color{white}{5}
  136. %\end{flushright}
  137. %\end{minipage}};
  138. %\end{tiny}
  139. %\\
  140. %\vspace{1cm}
  141. %\begin{tikzpicture}
  142. %\draw [help lines] grid (3,2);
  143. %\begin{pgfonlayer}{background layer}
  144. %\fill[brown!35!black,rounded corners] (-5,-4.5) rectangle (12,4.5);
  145. %\end{pgfonlayer}
  146. %\path  [decorate,decoration={text along path,
  147. %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.}}]
  148. %(-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);
  149.  
  150. %\path  [decorate,decoration={text along path,
  151. %text={|\large\bf\color {blue}|dia entero. |\bf\color {white}|Josue. 10: 13}}]
  152. %(-1.5,0.5) parabola bend (3,1)(7.5,0.5);
  153.  
  154. %\draw (4.8,-0.5) node {|\bf\color {white}|Josué 16: 10};
  155. %\end{tikzpicture}
  156.  
  157. %\begin{tikzpicture}
  158. %\begin{pgfonlayer}{background layer}
  159. %\fill[blue] (0,1.5) ellipse (6cm and 4cm);
  160. %\fill[blue,rounded corners] (-6,-1.5) rectangle (6,5.5);
  161. %\draw
  162. %(0,-0.5) node {\color {white}\large{\bf{$\overline{x} \approx Mo \approx Me$}}};
  163. %\end{pgfonlayer}
  164.  
  165. %\draw[very thick,white](-5,-0.1) .. controls (-3.6,-0.05) .. (-3.5,0.1);
  166.  
  167. %\draw[black,very thick](-5,-0.1) -- (5,-0.1);
  168.  
  169. %\path  [decorate,decoration={text along path,
  170. %text={ | \bf\color{white}|..... Distribucion muestral con tendencia simetrica o insesgada ..... }}]
  171. %(-3.5,0.1) .. controls (0,6) .. (3.5,0.1);
  172. %\draw[very thick,white](5,-0.1) .. controls (3.6,-0.05) .. (3.5,0.1);
  173.  
  174. %\draw [<->, dashed, white, ultra thick] (0,-0.1) to (0,4.5);
  175. %\draw (0,4.8) node {\color{white}{\bf{\large{Simétrica o insesgada}}}};
  176.  
  177.  
  178. %\end{tikzpicture}
  179.  
  180. %\end{center}
  181.  
  182. % Create a new 1st level heading
  183.  
  184.  
  185.  
  186. % 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
  187. %\bibliographystyle{alphadin}
  188. %\bibliography{document}
  189. %\renewcommand
  190. %\refname{\section*{Referencias}}
  191. %\begin{thebibliography}{5}
  192.  
  193.  
  194. %\end{thebibliography}
  195. \begin{center}
  196. \section*{C. Realice las siguientes tablas de verdad}
  197. Tabla para:  $ (\textcolor{blue}{p} \ \wedge \  \textcolor{blue}{q}) \Leftrightarrow \ (\textcolor{blue}{p} \ \vee \  \textcolor{blue}{q})$\\
  198. \vspace{0.5cm}
  199. \begin{tabular}{|c|c|c|c|c|}
  200. \hline
  201. \rowcolor{gray!20}
  202. \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})$\\
  203. \hline
  204. v & v & v & v & v \\
  205. \hline
  206. v & f & f & v & f \\
  207. \hline
  208. f & v & f & v & f \\
  209. \hline
  210. f & f & f & f & v \\
  211. \hline
  212. \end{tabular}\\
  213. \vspace{.4cm}
  214.  
  215. \end{center}
  216. \pagebreak
  217. \begin{enumerate}
  218. \item Está lloviendo y hace calor. $\mapsto \ p \wedge q$\\
  219. $p$: Está lloviendo\\
  220. $q$: Hace calor\\
  221.  
  222. \item Nuestra bandera es blanca y celeste. $\mapsto \ p$\\
  223. NOTA: La proposición es simple porque enuncia una sola caracteristica de la bandera, sus colores.
  224. \item Marcos se dedica a la natación o al alpinismo. $\mapsto \ p \vee q$\\
  225. $p$: Marcos se dedica a la natación.\\
  226. $q$: Marcos se dedica al alpinismo.\\
  227. \item El número 6 es mayor que el 3 y menor que el 7. $\mapsto \ p \wedge q$\\
  228. $p$:El número 6 es mayor que el 3\\
  229. $q$: El número 6 es menor que el 7\\
  230. \item He pasado todas mis vacaciones en Grecia y Marruecos. $\mapsto \ p$\\
  231. NOTA: La proposición es simple porque enuncia una sola caracteristica, los lugares donde pasó todas sus vacaciones.\\
  232. \item Quiero salir, pero no puedo.$\mapsto \ p\  \wedge \sim q$\\
  233. $p$: Quiero salir.\\
  234. $q$: Puedo salir.\\
  235. 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 $).
  236. \item La realidad supera a la ficción y él no puede creerlo. $\mapsto \ p\  \wedge \sim q$\\
  237. $p$: La realidad supera a la ficción.\\
  238. $q$: Él puede creer que la realidad supera a la ficción.\\
  239. \item El televisor no funciona si no lo enchufas. CONTRAPOSITIVA: $ \sim q\  \Rightarrow \  \sim p$ de la proposición compuesta: \\
  240. Si enchufas el televisor entonces el televisor funciona.\\
  241. $ p\  \Rightarrow \ q$\\
  242. $p$: Enchufas el televisor.\\
  243. $q$: El televisor funciona.\\
  244. \item No tenemos más alternativas.\\
  245. Negación $\sim \ p$ de la proposición simple:\\
  246. $p$: Tenemos más alternativas.
  247. \end{enumerate}
  248. % End of the document
  249. \begin{center}
  250. \begin{tikzpicture}
  251. \pie [rotate = 180,explode=0.1,text=pin,radius=2, style = drop shadow]
  252.    {20/\TeX\ Live and Mac\TeX,
  253.     32/MiK\TeX\ and Pro\TeX t, 6/Other \TeX, 42/\LaTeX}
  254. \end{tikzpicture}
  255. \pagebreak
  256. \begin{figure*}[ht]
  257. \centering
  258. \begin{tikzpicture}
  259. \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}
  260. \label{fig:Chara}
  261. \end{figure*}
  262. \end{center}
  263. \end{document}
  264.  
Add Comment
Please, Sign In to add comment