This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** | |
| * Dadas tres longitudes, determinar si corresponden a un triángulo del tipo isósceles, escaleno o equilátero. | |
| * @param {number} a | |
| * @param {number} b | |
| * @param {number} c | |
| * @returns {number | string} | |
| */ | |
| const getTypeOfTriangle = (a, b, c) => { | |
| const isTypeOfNumber = typeof a === "number" && typeof b === "number" && typeof c === "number"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** | |
| La ecuación de una curva normal utilizada en aplicaciones estadísticas es: | |
| ``` | |
| y = (1 / (s * √2π)) * e ^ (-1/2[(x - m) / s]^2) | |
| ``` | |
| * ¿Cuántos datos de entrada tiene este problema? **Rt : Contiene tres datos de entrada -> m, s y x.** | |
| * ¿Cuántas salidas se requieren en este problema? **Rt : Requiere de una salida.** | |
| * Crear un método para convertir los datos entrada en datos de salida. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { useRef } from "react"; | |
| import Root from "./styled"; | |
| const Slider = ({ images }: { images: { url: string; name: string }[] }) => { | |
| const currentIndexRef = useRef(0); | |
| const handleNextItem = () => { | |
| const newIndex = currentIndexRef.current + 1; | |
| if (newIndex >= images.length) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| Geogebra : Grafica. | |
| https://www.geogebra.org/graphing/g4eahtkv | |
| Google Docs : TP Integrador Analisis Matemático. | |
| https://docs.google.com/document/d/1bfF7tta1PtkIssdozoKvuClUKuP57rzo/edit#heading=h.e1572030fx0u | |
| Problema 2: Tarifa Eléctrica | |
| La funcion calcKwh calcula el costo de la tarifa eléctrica en función de la cantidad de kilovatios-hora consumidos. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <!-- MapBox --> | |
| <script src="https://api.mapbox.com/mapbox-gl-js/v2.7.0/mapbox-gl.js"></script> | |
| <script src="https://unpkg.com/mapbox@1.0.0-beta9/dist/mapbox-sdk.min.js"></script> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // crear las clases Edificio, Piso y Departamento aquí | |
| class Departamento { | |
| depart: string; | |
| constructor(depart: string) { | |
| this.depart = depart; | |
| } | |
| getName() { | |
| return this.depart; | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // crear la clase Banda aquí | |
| class Banda { | |
| members: string[]; | |
| albums: { title: string; songs: string[] }[]; | |
| constructor(a: string[], b: { title: string; songs: string[] }[]) { | |
| this.members = a; | |
| this.albums = b; | |
| } | |
| getFirstAlbum() { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //Crear un Modulo de nombre "multiplos.js", que exporte una Funcion de Nombre "multiplos", | |
| //la cual retorne un Array con una Longitud de 20, donde debe haber: | |
| //1°(5 Multiplos Pares de Tres) Eje:6,12,18,24 *Seria lo mismo que decir Multiplos de 6* | |
| //2°(15 Multiplos Impares de Cinco) Eje:5,15,25,35 | |
| //Reglas: 1° Deben ser generadas aleatoriamente (no importa si se repiten), 2° El Orden no importa. | |
| //Test. No Modificar!! | |
| const arrayModulo = require("./multiplos"); | |
| if (arrayModulo.multiplos().length !== 20) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // todas las funciones se deben resolver en una linea de código (máximo 2) | |
| function crearArrayDeObjetos(arrayDeNumeros, nombreDePropiedad) { | |
| return arrayDeNumeros.map((item) => { | |
| return { [nombreDePropiedad]: item }; | |
| }); | |
| // si recibe [1,2,3,4] y "a" | |
| // debe devolver | |
| // [{ a:1 }, { a:2 }, { a:3 }, { a:4 }] | |
| // usar método map | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const pelis = require("./pelis"); | |
| //Trasnforma en objeto al Inputs de entrada | |
| const asignarInputs = (argv) => { | |
| const respuesta = {}; | |
| argv.forEach(function (item, ind) { | |
| if (item.startsWith("--")) { | |
| const itemSinGuiones = item.slice(2); //Se le quitan -- a los inputs | |
| respuesta[itemSinGuiones] = argv[ind + 1]; //Se le asigna el siguiente valor al parametro anterior | 
NewerOlder