<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Mi Padlet para Python. Sadovnik by Juan Esteban Sadovnik</title>
      <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-08-09 10:29:33 UTC</pubDate>
      <lastBuildDate>2023-10-13 14:37:39 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Primer trabajo del curso. Juan Esteban Sadovnik</title>
         <author>juanesadovnik</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2658645202</link>
         <description><![CDATA[<div>link Notebook: https://colab.research.google.com/drive/1B3oltAKGw8YTsMNLiX3McW9ITELXeN3y?usp=sharing<br><br><br>Se está produciendo metano a partir de un reactor de biogas, el biogas es principalmente metano el cual es purificado antes de ser almacenado en un cilindro de 100 L a temperatura ambiente. Usando la ecuación de Van der Waals, muestre el comportamiento de la presión del recipiente en la medida que aumenta la masa almacenada hasta alcanzar 50 moles.<br><br><br></div><div>1)</div><pre><pre>import numpy as np
import matplotlib.pyplot as plt
Tc=190.6
Pc=45.99
R=0.08315
T=298.15
a=(27*(R**2)*(Tc**2))/(64*Pc)
b=(R*Tc)/(8*Pc)
V=100
n=np.linspace(1,50,100)
V_m= (V/n)
P=((R*T)/(V_m-b))-(a/(V_m**2))
print(P)</pre></pre><div><br><br></div><pre>[ 0.24778816  0.3703394   0.49283018  0.61526052  0.73763048  0.85994006
  0.98218932  1.10437829  1.22650699  1.34857546  1.47058374  1.59253186
  1.71441985  1.83624774  1.95801558  2.0797234   2.20137122  2.32295908
  2.44448702  2.56595508  2.68736327  2.80871165  2.93000024  3.05122907
  3.17239819  3.29350762  3.4145574   3.53554757  3.65647815  3.77734919
  3.89816071  4.01891276  4.13960536  4.26023855  4.38081236  4.50132684
  4.62178201  4.7421779   4.86251456  4.98279202  5.10301031  5.22316946
  5.34326952  5.46331051  5.58329248  5.70321545  5.82307946  5.94288454
  6.06263074  6.18231808  6.3019466   6.42151634  6.54102733  6.6604796
  6.77987319  6.89920814  7.01848448  7.13770224  7.25686146  7.37596218
  7.49500444  7.61398825  7.73291368  7.85178073  7.97058946  8.0893399
  8.20803208  8.32666604  8.44524182  8.56375944  8.68221896  8.80062039
  8.91896378  9.03724916  9.15547656  9.27364604  9.39175761  9.50981132
  9.62780719  9.74574528  9.86362561  9.98144821 10.09921313 10.21692041
 10.33457006 10.45216214 10.56969668 10.68717372 10.80459328 10.92195541
 11.03926015 11.15650752 11.27369757 11.39083033 11.50790584 11.62492414
 11.74188525 11.85878922 11.97563609 12.09242589]</pre><div>2)<br><br>Adicionalmente, usando la misma información realice una representación gráfica (curvas de nivel y superficie de respuesta) para la misma variación cambiando la temperatura de almacenamiento entre 0 y 100 °C</div><div><br><br><br></div><div><br><br><br></div><div><br>[ ]<br><br></div><div>T=np.linspace(273.15,373.15,10)</div><div>n=np.linspace(1,50,10)</div><div>R=0.0835</div><div>V=100</div><div>V_m=(V/n)</div><div>a=(27*(R*2)*(T**2))/(64*Pc)</div><div>b=(R*Tc)/(8*Pc)</div><div>P=lambda T, n: ((R*T)/(V_m-b))-(a/(V_m**2))</div><div>T_mesh, n_mesh=np.meshgrid(T, n)</div><div>P_mesh=P(T_mesh,n_mesh)</div><div>fig, ax=plt.subplots()</div><div>im=ax.imshow(P_mesh)</div><div>plt.xticks(np.linspace(0,100,1000), np.linspace(273.15, 373.15, 1000))</div><div>plt.yticks(np.linspace(0,100,50), np.linspace(1,50,50))<br><br></div><div>plt.contourf(T_mesh, n_mesh, P_mesh)</div><div>colorbar = plt.colorbar()<br><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><br></div>]]></description>
         <enclosure url="https://v1.padlet.pics/1/image.webp?t=c_limit%2Cdpr_1%2Ch_303%2Cw_372&amp;url=https%3A%2F%2Fpadlet-uploads.storage.googleapis.com%2F1555992355%2Fd0d0886bf3ea49397e733910f53f8c08%2Fimage.png" />
         <pubDate>2023-08-09 10:34:36 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2658645202</guid>
      </item>
      <item>
         <title>Primera gráfica 3D. Juan Esteban Sadovnik</title>
         <author>juanesadovnik</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2658645607</link>
         <description><![CDATA[<div>import numpy as np</div><div>import matplotlib.pyplot as plt</div><div><br></div><div>T = np.linspace(273.15, 373.15, 10)</div><div>n = np.linspace(1, 50, 10)</div><div>Tc = 190.6</div><div>R = 0.0835</div><div>Pc = 45.99</div><div>V = 100</div><div>V_m = (V / n)</div><div>a = ((27 * (R ** 2) * (Tc ** 2)) / (64 * Pc))</div><div>b = (R * Tc) / (8 * Pc)</div><div><br></div><div># Definir la función P usando numpy.vectorize</div><div>P=lambda T,n: ((R*T)/(V_m-b))-(a/(V_m**2))</div><div><br><br></div><div>T_mesh, n_mesh = np.meshgrid(T, n)</div><div>P_mesh = P(T_mesh, n_mesh)</div><div><br></div><div># Plot</div><div>fig = plt.figure()</div><div>ax = fig.add_subplot(projection='3d')</div><div>surface=ax.plot_surface(P_mesh, n_mesh, T_mesh)<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1555992355/ea8f9e90b906bf67c9836da93e66ba21/image.png" />
         <pubDate>2023-08-09 10:36:02 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2658645607</guid>
      </item>
      <item>
         <title>Comentarios reto 1</title>
         <author>ojfranco</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2660640850</link>
         <description><![CDATA[<div>*Recuerda poner los rotulos de los ejes de las gráficas 3D con las respectivas unidades, ademas de incluir la barra de colores en la superficie de respuesta y de ajustar los valores de temperatura para que se muestre en las unidades correctas</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-08-12 14:09:49 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2660640850</guid>
      </item>
      <item>
         <title></title>
         <author>juanesadovnik</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2664041224</link>
         <description><![CDATA[<div>link notebook: https://colab.research.google.com/drive/1cifsTbDC9QWZ6YXINFaGMTVGF5qaqvlr?usp=sharing<br><br><strong>Ejercicio aplicado 1</strong><br><br>import pandas as pd</div><div>import math</div><div>a=float(input("ingrese el valor de a : "))</div><div>b=float(input("Ingrese el valor de b :"))</div><div>c=float(input("Ingrese el valor de c :"))</div><div>d=(b**2)-4*a*c</div><div>if d&lt;0:</div><div>&nbsp; print("número imaginario, I")</div><div>elif a==0:</div><div>&nbsp; x=(-c/b)</div><div>&nbsp; print("La ecuación no es cuadrática, pero la linea recta da: ", x)</div><div>&nbsp;&nbsp;</div><div><br><br></div><div>else:</div><div>&nbsp; &nbsp; x1=(-b- math.sqrt(d))/((2*a))</div><div>&nbsp; &nbsp; x2=(-b + math.sqrt(d))/((2*a))</div><div>&nbsp; &nbsp; print("la solución 1 es ", x1)</div><div>&nbsp; &nbsp; print("la solución 2 es ", x2)<br><br><strong>Ejercicio aplicado 2</strong></div><div>lista=[9, 3, 26, 18, 92, 1, 19, 23, 14, 21, 7, 17]</div><div>condición=False</div><div>while condición==False:</div><div>&nbsp; condición=True</div><div>&nbsp; for i in range(len(lista)-1):</div><div>&nbsp; &nbsp; &nbsp;if lista[i]&gt;lista[i+1]:</div><div>&nbsp; &nbsp; &nbsp; aux=lista[i]</div><div>&nbsp; &nbsp; &nbsp; lista[i]=lista[i+1]</div><div>&nbsp; &nbsp; &nbsp; lista[i+1]=aux</div><div>&nbsp; &nbsp; &nbsp; condición=False</div><div>print(lista)&nbsp;</div><div><br></div><div><br><br></div>]]></description>
         <enclosure url="https://colab.research.google.com/drive/1cifsTbDC9QWZ6YXINFaGMTVGF5qaqvlr?usp=sharing" />
         <pubDate>2023-08-17 02:07:12 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2664041224</guid>
      </item>
      <item>
         <title>Comentarios reto 2</title>
         <author>ojfranco</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2673201844</link>
         <description><![CDATA[<div>*Aunque se realizan las actividades para calcular las raices no se cumple con el objetivo del reto de crear una función que reciba como parametros los coeficientes del polinomio y retorne una lista con las raices del mismo<br>*Aunque se realizaron las activiades para ordenar una lista no se cumple con el objetivo del reto que es crear una función que tome como argumento una lista de valores y retorne la lista organizada</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-08-25 16:41:31 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2673201844</guid>
      </item>
      <item>
         <title>Reto 3</title>
         <author>ojfranco</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2691017085</link>
         <description><![CDATA[<div>No entregado</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-09-08 16:52:18 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2691017085</guid>
      </item>
      <item>
         <title>Reto 4</title>
         <author>juanesadovnik</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2691103917</link>
         <description><![CDATA[<div>Notebook EDO´s: https://colab.research.google.com/drive/1GEOoTXAYG-eOGngx526UE3Wv2Di9Rs5p#scrollTo=oMd9JMiV3p0N<br><br><br><br>Notebook ecuaciones lineales:<br><br>https://colab.research.google.com/drive/16-xsU24s1fvN94lz8J8wIH4_fKZaoNpB#scrollTo=yXefaZavuVto</div>]]></description>
         <enclosure url="https://colab.research.google.com/drive/1GEOoTXAYG-eOGngx526UE3Wv2Di9Rs5p#scrollTo=oMd9JMiV3p0N" />
         <pubDate>2023-09-08 17:55:10 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2691103917</guid>
      </item>
      <item>
         <title>Notebook reto ecuaciones no lineales</title>
         <author>juanesadovnik</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2723804487</link>
         <description><![CDATA[<div>https://colab.research.google.com/drive/1l778ugjaruoNp9183pPR247yDAiZ86BV#scrollTo=rTurZ8sxCVOc</div>]]></description>
         <enclosure url="https://colab.research.google.com/drive/1l778ugjaruoNp9183pPR247yDAiZ86BV#scrollTo=rTurZ8sxCVOc" />
         <pubDate>2023-09-27 21:48:31 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2723804487</guid>
      </item>
      <item>
         <title>Comentarios reto 4</title>
         <author>ojfranco</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2726041904</link>
         <description><![CDATA[<div>*Revisa como estableciste el sistema de ecuaciones a la matriz está incorrecto</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-09-29 13:14:56 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2726041904</guid>
      </item>
      <item>
         <title>Reto 5</title>
         <author>ojfranco</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2726144009</link>
         <description><![CDATA[<div>Revisado</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-09-29 14:24:27 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2726144009</guid>
      </item>
      <item>
         <title>Reto Machine Learning</title>
         <author>juanesadovnik</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2742541414</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/1fRNiBy1hrAJJ7fgus-xWpI1Cs8OXPXti#scrollTo=G38QjzT8ezDn" />
         <pubDate>2023-10-11 22:47:50 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2742541414</guid>
      </item>
      <item>
         <title>Reto 6</title>
         <author>ojfranco</author>
         <link>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2745327109</link>
         <description><![CDATA[<div>Revisado</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-10-13 14:37:28 UTC</pubDate>
         <guid>https://padlet.com/juanesadovnik/bidtbo1wegeacr7h/wish/2745327109</guid>
      </item>
   </channel>
</rss>
