top of page

ING. ELECTRONICA

About
Contact

ING.ELECTRONICA

La estrategia está orientada al desarrollo de habilidades para resolver problemas, para seguir aprendiendo en forma autodirigida , auto – motivada y autosuficiente toda la vida, para encontrar y usar los recursos adecuados, para el pensamiento crítico y pro – activo, y para la comunicación y el trabajo en equipo que favorece el desarrollo de aprendizajes en el contexto de la realidad. El aprendizaje basado en problemas, como estrategia educativa,  y a partir de entonces, ha ganado gradualmente popularidad como método de formación profesional.

musica y sonido de los 80

plan de estudio

estructuras condicionales

video

laboratorio 1 13/o7/18

MIENTRAS

repeticion mientras

estructura de seleccion multiple

MATRICES

10/07/18

#include <iostream>
#include <math.h>
using namespace std;
using namespace std ;
int opcion;
int V[20];
int M[2][2];
int i,j;
int A[2][2],B[2][2],C[2][2];
int indicA;
int indicB;
int multi;
int suma,promedio;
int maxi,mini;
int leer_2_matrices();
int ver_suma_2_matrices();    
int    promedio_matriz();
int mayor_y_sus_indices();
int menor_y_sus_indices();
int    transpuesta();


int    indice_matriz();    
     
int main ()
{ do{

    cout<<"*******MENU*******\n";
    cout<<"leer_2_matrices  :\n";
    cout<<"ver_suma_2_matrices :\n";
    cout<<"promedio_matriz:\n";
    cout<<"mayor_y_sus_indices:\n";
    cout<<"menor_y_sus_indices:\n";
    cout<<"transpuesta:\n";
    cout<<"indice:\n";

    cout<<"ingrese una opcion: ";
    cin>> opcion;
    switch(opcion)
      {
         case 1: 
                 {
                  leer_2_matrices();

                  };break;
                  
              case 2:
                  {
                    ver_suma_2_matrices();                        
                  };break;
                  case 3:
                  {
                      promedio_matriz();
                  };break;
            case 4:
                  {
                      mayor_y_sus_indices();
                  };break; 
              case 5:
                  {
                      menor_y_sus_indices();
                  };break; 
              case 6: 
                 {
                      transpuesta();
                  };break;
                      case 7: 
                 {
                      indice_matriz();
                  };break;    
                       
          }
                    
      }while(opcion=!0);
          return 0 ;
      }
            
      int leer_2_matrices()
{
    for  (i=1;i<=2;i++)
    {
    for  (j=1;j<=2;j++)
    {
               cout<< "A["<<i<<"]["<<j<<"]= "; cin>> A[i][j];
    }
    }
    for  (i=1;i<=2;i++)
    {
        for  (j=1;j<=2;j++)
         {
                 cout<< "B["<<i<<"]["<<j<<"]= "; cin>> B[i][j];
           }
    }
        cout<<endl;

}

int ver_suma_2_matrices()    
{
    for  (i=1;i<=2;i++)
   {
    for  (j=1;j<=3;j++)
   
        {
            M[i][j]= A[i][j]+B[i][j];
            cout <<"["<<i<<"]"<<"["<<j<<"]:"<<M[i][j]<<endl;
        }
    }
}
int    promedio_matriz()
{
    suma=0;
    for(i=1;i<=2;i++)
    {
    for(j=1;j<=3;j++)    
    suma=suma+M[i][j];         
    {
    promedio=suma/(i*j);
        }
    }cout<<promedio<<endl;
}

int mayor_y_sus_indices()
{
    maxi=M[1][1];
    for  (i=1;i<=2;i++)
    {
    for  (j=1;j<=2;j++)    
        {
        if (M[i][j]>maxi)
            {
         maxi=M[i][j]; 
          indicA= i;
             indicB= j;
            }
        }
    }
    cout<<  indicA<<endl;
    cout<<  indicB<<endl;
    cout<<"matriz MAXIMA :"<<maxi<<endl;
}
int menor_y_sus_indices()
{
    mini=M[1][1];
              for  (i=1;i<=3;i++)
      {
              for  (j=1;j<=3;j++)    
         {
                  if (M[i][j]<mini)
                {
                 mini=M[i][j]; 
                  indicA= i;
                  indicB= j;
                   }
        }
    }
    cout<< indicA<<endl;
    cout<< indicB<<endl;

    cout<<"matriz MINIMA :"<<mini<<endl;
}
int    transpuesta()
{
    for  (i=1;i<=2;i++)
    {
    for  (j=1;j<=2;j++)
        {
      cout<< "M["<<j<<"]["<<i<<"]= "<< M[j][i]<<endl;
        }
    }
    
}

#include<iostream>
#include<math.h>
using namespace std;
int main()

{int  opcion;
cout<<"menu\n ";
cout<<"1-case1\n ";
cout<<"2-case2\n ";
cout<<"3-case3\n ";
cout<<"4-case4\n ";
cout<<"ingrese una opcion;\n";

cin>>opcion;
switch(opcion)
{
    case 1: 
    { 
    double s1=0,s2=0,s3=0,f=1,n,m; 
for(m=2;m<=20;n++)
{
    s1=s1+(n);
    s2=s2+(n*2);
    s3=s3+(2*n-1);
    
    f=f*m;
    cout<<suma=suma+pow((2*n-1),n)/f<<endl;
    
cout<<"para n= "<<n<<endl;
cout<<"ingrese el numero s1 es: "<<m<<endl;
cout<<"ingrese el numero s2 es: "<<n<<endl;
cout<<"el resultado final f es : "<<f<<endl;
cout<<"la suma en"<<n<<"y para m"<<m<<"el resultado final es"<<f<<endl;


}//FIN_FOR
};break;

 

case 2:
    
{
 double ALPHA,wf,wi,t;
 cin>>t;
 t=2;
 for(wf=15;wf<=20;wf=wf+2)
 for(wi=5;wi<=10;wi=wi+5)
 {
     ALPHA=(wf-wi)/t;
     
     cout<<"para wf= "<<wf<<" y para wi= "<<wi<<" el resultado final es: "<<ALPHA<<endl;
 }//FIN_FOR    
};break;

 

case 3:
{
    double w,k,m;
    for(k=4;k<=40;k=k+3)
    for(n=5;n<=25;n=n+2)
    {
        w=sqrt(k/m);
        
        suma=suma+(2*n);
        cout<<"para K= "<<k<<" y para m= "<<m<<" el resultado final es: "<<w<<endl;
        
        
    }//FIN_FOR
};break;

 


case 4:
{

    double t,pi=3.1415,m,k;
    for(m=10;m<=30;m=m+5);
    for(k=6;k<=36;k=k+2);
    {
        t=2*pi*sqrt(m/k);
        
        
        cout<<"para m= "<<m<<" y para k= "<<k<<" el resultado final es: "<<t<<endl;
        
        
    }//FIN_FOR
    
};break;

 

case 5: 
{  double f,pi=3.1415,k,m; 

for(k=10;k<=30;k++)
for(m=2; m<=10; m=m+2)

{ f=(1/(2*pi))*sqrt(k/m);

cout<<"para K= "<<k<<" y para m= "<<m<<" el resultado final es: "<<f<<endl;
}
};break;

 

} //fin del swtich
      //system("pause");
   return 0; 
    
} //fin del programa
    
   

clase 13 vectores 03/07/18

#include <iostream>
#include <math.h>
using namespace std;
int opcion;
int leer_vectores();
int leer_verctor();
int v[10],suma_vector();
int respuesta_prom_vector ();


int main ();

{

do

cout<<"Ingrese una opcion";

cout<<"menu"<<endl;

cout<<"1.Suma de vectores"<<endl;

cout<<"2.leer vector"<<endl;                                                                                                                 

cout>>"3.Respuesta promedio"<<endl;   

cout<<"4.Leer dos vectores"<<endl;

cout<<"5.suma 2 vectores"<<endl;

cout<<"6.Maximo y su indice"<<endl;

cout<<"7.Minimo y su indice"<<endl;


  cin>>opcion;

  switch (opcion)

   
   caso 1
   {
    leer_vector();
        ;break;
           }

    caso 2
{
 sumar_vector();
    break;
          } 

   caso 3
{
respuesta_prom_vector();
    break; 
     }
  caso 4
   {
    leer_2_vectores();
        ;break;
           }

caso 5
{
 sumar_de_2_vector();
    break;
          } 
 caso 6
   {
     maximo_y_su_indice();
        ;break;
           }

caso 7
{
 minimo_y_su_inidice();
     }
     while (opcion=!0);
system ("PAUSE");
return 0;
          } 

 

// zona de funciones


//caso 1
int leer vector()
  {
   for(i=1; i<=10 ; i ++)
       cin>>[i];
           }

//caso 2
 int suma_vector()
    {
            suma=0;
   for(i=1;  i<=10; i ++)
     suma=suma+v[i];


// caso 3            }
int respuesta_prom_vector()
      {
prom=suma/10;
cout<<prom<<endl;


  //caso 4
 
 int leer_2_vectores()
   {
    cout<<"Ingrese el Vector A[i] \n";
   for(i=1; i<=10; i ++)
     cin>>A[i];

    cout<<"Ingrese el Vector B[i] \n";
   for(i=1; i<=10; i ++)
    {
     cout<<"B["<<i<<"]="; cin>>B[i];
    }
   }  

 // caso 5
    
    int suma_de_2_vectores ()
   {
      for (i=1; i<=10; i++)
        C[i] = A [i]+ B [i];
    }
 
      // caso 6
       
   int maximo_y_su_indice ()
   {
     maxim=C[1]; 
      for (i=1 ; i<=10; i ++)
       {
         if (C[i] >= maxim)
          {
          maxim = C [i];
          ind = i;
          }
       }

    cout<<"maximo/n";

      cout <<"indice/n";
   } 

// caso 7

    int minimo_y_su_indice ()
 
 
{
    minimo=C[1];
    for(i=1; i<=10; i++)
    {
             if (C[i]<=minimo)
             {
                            minimo=C[i];
                            indice=i;
             }
    cout<<minimo<<endl;
    cout<<indice<<endl;
    }
}   

  { 
    ;break;
           }while;
                 }//fin proceso

Work
Clients
Todos los videos

Todos los videos

Mirar ahora
Todos los videos

Todos los videos

Mirar ahora

About

I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add your own content and make changes to the font. Feel free to drag and drop me anywhere you like on your page. I’m a great place for you to tell a story and let your users know a little more about you.

Address

I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add your own content and make changes to the font. Feel free to drag and drop me anywhere you like on your page. I’m a great place for you to tell a story and let your users know a little more about you.

500 Terry Francois Street

San Francisco, CA 94158

​

info@mysite.com

Tel: 123-456-7890

Clients

Contact

Get in Touch

Hello! Ingredients is a

creative studio. We love design and forward thinking.

Success! Message received.

© 2023 by Ingredients. Proudly created with Wix.com

  • Black Facebook Icon
  • Black Twitter Icon
  • Black Instagram Icon
bottom of page