From add30a66e1b1516f6a97ba3cbbe2cbc569a7c52f Mon Sep 17 00:00:00 2001 From: vpaulette1205 <161194781+vpaulette1205@users.noreply.github.com> Date: Fri, 21 Mar 2025 20:40:54 -0600 Subject: [PATCH] =?UTF-8?q?Update=20and=20rename=20Lib/operator.py=20to=20?= =?UTF-8?q?Lib/import=20matplotlib.pyplot=20as=20plt=20import=20numpy=20as?= =?UTF-8?q?=20np=20=20#=20Datos=20para=200=C2=B0=20a=20360=C2=B0=20angulos?= =?UTF-8?q?=20=3D=20np.array([0,=2030,=2045,=2060,=2090,=20120,=20135,=201?= =?UTF-8?q?50,=20180,=20210,=20225,=20240,=20270,=20300,=20315,=20330,=203?= =?UTF-8?q?60])=20radianes=20=3D=20np.array([0,=20np.pi/6,=20np.pi/4,=20np?= =?UTF-8?q?.pi/3,=20np.pi/2,=202*np.pi/3,=203*np.pi/4,=205*np.pi/6,=20np.p?= =?UTF-8?q?i,=207*np.pi/6,=205*np.pi/4,=204*np.pi/3,=203*np.pi/2,=205*np.p?= =?UTF-8?q?i/3,=207*np.pi/4,=2011*np.pi/6,=202*np.pi])=20seno=20=3D=20np.s?= =?UTF-8?q?in(radianes)=20=20#=20Gr=C3=A1fica=20plt.plot(angulos,=20seno,?= =?UTF-8?q?=20marker=3D'o')=20plt.title('Gr=C3=A1fica=20de=20la=20funci?= =?UTF-8?q?=C3=B3n=20seno=20(0=C2=B0=20a=20360=C2=B0)')=20plt.xlabel('?= =?UTF-8?q?=C3=81ngulo=20en=20grados')=20plt.ylabel('sen(X)')=20plt.grid(T?= =?UTF-8?q?rue)=20plt.show()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ... en grados') plt.ylabel('sen(X)') plt.grid(True) plt.show()" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Lib/operator.py => "Lib/import matplotlib.pyplot as plt import numpy as np # Datos para 0\302\260 a 360\302\260 angulos = np.array([0, 30, 45, 60, 90, 120, 135, 150, 180, 210, 225, 240, 270, 300, 315, 330, 360]) radianes = np.array([0, np.pi/6, np.pi/4, np.pi/3, np.pi/2, 2*np.pi/3, 3*np.pi/4, 5*np.pi/6, np.pi, 7*np.pi/6, 5*np.pi/4, 4*np.pi/3, 3*np.pi/2, 5*np.pi/3, 7*np.pi/4, 11*np.pi/6, 2*np.pi]) seno = np.sin(radianes) # Gr\303\241fica plt.plot(angulos, seno, marker='o') plt.title('Gr\303\241fica de la funci\303\263n seno (0\302\260 a 360\302\260)') plt.xlabel('\303\201ngulo en grados') plt.ylabel('sen(X)') plt.grid(True) plt.show()" (99%) diff --git a/Lib/operator.py "b/Lib/import matplotlib.pyplot as plt import numpy as np # Datos para 0\302\260 a 360\302\260 angulos = np.array([0, 30, 45, 60, 90, 120, 135, 150, 180, 210, 225, 240, 270, 300, 315, 330, 360]) radianes = np.array([0, np.pi/6, np.pi/4, np.pi/3, np.pi/2, 2*np.pi/3, 3*np.pi/4, 5*np.pi/6, np.pi, 7*np.pi/6, 5*np.pi/4, 4*np.pi/3, 3*np.pi/2, 5*np.pi/3, 7*np.pi/4, 11*np.pi/6, 2*np.pi]) seno = np.sin(radianes) # Gr\303\241fica plt.plot(angulos, seno, marker='o') plt.title('Gr\303\241fica de la funci\303\263n seno (0\302\260 a 360\302\260)') plt.xlabel('\303\201ngulo en grados') plt.ylabel('sen(X)') plt.grid(True) plt.show()" similarity index 99% rename from Lib/operator.py rename to "Lib/import matplotlib.pyplot as plt import numpy as np # Datos para 0\302\260 a 360\302\260 angulos = np.array([0, 30, 45, 60, 90, 120, 135, 150, 180, 210, 225, 240, 270, 300, 315, 330, 360]) radianes = np.array([0, np.pi/6, np.pi/4, np.pi/3, np.pi/2, 2*np.pi/3, 3*np.pi/4, 5*np.pi/6, np.pi, 7*np.pi/6, 5*np.pi/4, 4*np.pi/3, 3*np.pi/2, 5*np.pi/3, 7*np.pi/4, 11*np.pi/6, 2*np.pi]) seno = np.sin(radianes) # Gr\303\241fica plt.plot(angulos, seno, marker='o') plt.title('Gr\303\241fica de la funci\303\263n seno (0\302\260 a 360\302\260)') plt.xlabel('\303\201ngulo en grados') plt.ylabel('sen(X)') plt.grid(True) plt.show()" index 02ccdaa13ddb31..12acd70cbce4ff 100644 --- a/Lib/operator.py +++ "b/Lib/import matplotlib.pyplot as plt import numpy as np # Datos para 0\302\260 a 360\302\260 angulos = np.array([0, 30, 45, 60, 90, 120, 135, 150, 180, 210, 225, 240, 270, 300, 315, 330, 360]) radianes = np.array([0, np.pi/6, np.pi/4, np.pi/3, np.pi/2, 2*np.pi/3, 3*np.pi/4, 5*np.pi/6, np.pi, 7*np.pi/6, 5*np.pi/4, 4*np.pi/3, 3*np.pi/2, 5*np.pi/3, 7*np.pi/4, 11*np.pi/6, 2*np.pi]) seno = np.sin(radianes) # Gr\303\241fica plt.plot(angulos, seno, marker='o') plt.title('Gr\303\241fica de la funci\303\263n seno (0\302\260 a 360\302\260)') plt.xlabel('\303\201ngulo en grados') plt.ylabel('sen(X)') plt.grid(True) plt.show()" @@ -225,7 +225,7 @@ def length_hint(obj, default=0): def call(obj, /, *args, **kwargs): """Same as obj(*args, **kwargs).""" - return obj(*args, **kwargs) + return obj(*args,kwargs) # Generalized Lookup Objects **************************************************#