1.- CAIDA LIBRE
#include<iostream>
using
namespace std;
 // 1) DECLARACION
    int 
vi,vf,t;
    float h,hmax, r1, r2;
   float altura_(int vi, int vf, int t
);  // DECLARACION DE LA FUNCION
   float altura_max(int vi); 
int main()
{
     //asignación
       cout <<"******CAIDA LIBRE******
";  
    cout<<endl;
    cout <<"INGRESE LA
VELOCIDAD INICIAL  : ";   
    cin>>vi;
    cout<<endl;
    cout
<<"INGRESE LA VELOCIDAD FINAL : ";   
   
cin>>vf;     
    cout<<endl;
    cout
<<"INGRESE EL TIEMPO: ";  
    cin>>t;
    cout<<endl;
   // proceso
     r1 = altura_(vi,
vf,t );  // INVOCACION
     r2 =
altura_max(vi);
       
cout<<endl;
    cout
<<"LA ALTURA ES = "<<r1;    
    cout<<endl;
    cout
<<"LA ALTURA MAXIMA ES = "<<r2;
    cout<<endl;
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS
FUNCIONES
   float altura_(int
vi, int vf, int t )
  { 
      h= (vi*t+vf*t)/2;
      return h;
      }
   float altura_max(int vi)
   { 
      hmax= (vi*vi)/19.6;
      return hmax;
      }
2.- SUMA DE CUBOS Y CUADRADO 
#include<iostream>
using
namespace std;
 // 1) DECLARACION
    int 
i, n, suma, opcion;
    float x2,x3, r1, r2;
   float cuadrados(int
i,int n, int suma);  // DECLARACION DE LA
FUNCION
   float cubos(int i,int n, int suma); 
int main()
{
   //asignación
    cout
<<"INGRESE CANTIDAD DE ELEMENTOS A SUMAR  ";  
    cin>>n;
    cout<<endl;
    cout<<endl;
   // proceso
     r1 =
cuadrados(i,n,suma);  // INVOCACION
     r2 =
cubos(i,n,suma);
       
cout<<endl;
    cout
<<"LA SUMA DE LOS CUADRADOS ES : 
"<<r1;    
    cout<<endl;
    cout
<<"LA SUMA DE LOS CUBOS ES : 
"<<r2;
    cout<<endl;
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS
FUNCIONES
   float cuadrados(int
i,int n, int suma)
  { 
       //Proceso repetitivo finito
    for (i=1; i<=n; i++)
    {
        suma = suma + (i*i);
    };
      return suma ;
      }
   float cubos(int i,int n, int suma)
   { 
     //Proceso repetitivo finito
    for (i=1; i<=n; i++)
    {
        suma = suma + (i*i*i);
    } ;
      return suma;
      }
3.- VOLUMEN Y AREA DE UNA ESFERA
#include<iostream>
using
namespace std;
 // 1) DECLARACION
    int  r;
    float v,a, r1, r2;
   float volumen_(int
r );  // DECLARACION DE LA FUNCION
   float area_(int r); 
int main()
{
   //asignación
    cout
<<"******AREA Y VOLUMEN DE UNA ESFERA***** ";  
    cout<<endl;
    cout
<<"INGRESE EL RADIO DE LA ESFERA 
: ";   
    cin>>r;
    cout<<endl;
   // proceso
     r1 = volumen_(r );  // INVOCACION
     r2 = area_(r);
        cout<<endl;
    cout
<<"EL VOLUMEN ES : 
"<<r1;    
    cout<<endl;
    cout <<"EL AREA ES:  "<<r2;
    cout<<endl;
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS
FUNCIONES
   float volumen_(int
r) 
  { 
      v= 4.18879*r*r*r ;
      return v;
      }
   float area_(int r)
   { 
      a= 12.56637*r*r ;
      return a;
      }
4.- MOVIMIENTO CIRCULAR UNIFORME 
#include<iostream>
using
namespace std;
 // 1) DECLARACION
    int 
wo,a,t;
    float wf,d, r1, r2;
   float velocidad_angular_final(int
wo,int a, int t  );  // DECLARACION DE LA FUNCION
   float desplazamiento_angular(int wo, int t, int
a); 
int main()
{
   //asignación
    cout
<<"*****MOVIMIENTO CIRCULAR UNIFORME***** ";  
    cout<<endl;
    cout
<<"INGRESE LA VELOCIDAD ANGULAR INICIAL  : ";  
    cin>>wo;
    cout<<endl;
    cout
<<"INGRESE LA ACELERACION ANGULAR  
: ";   
    cin>>a;
    cout<<endl;
    cout
<<"INGRESE EL TIEMPO  :
";   
    cin>>t;
    cout<<endl;
   // proceso
     r1 =
velocidad_angular_final(wo,a,t);  //
INVOCACION
     r2 =
desplazamiento_angular(wo, t,a);
       
cout<<endl;
    cout
<<"LA VELOCIDAD ANGULAR FINAL ES : 
"<<r1;    
    cout<<endl;
    cout
<<"EL DESPLAZAMIENTO ANGULAR ES : 
"<<r2;
    cout<<endl;
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS
FUNCIONES
   float
velocidad_angular_final(int wo,int a, int t 
)
  { 
      wf= wo+a*t;
      return wf;
      }
   float desplazamiento_angular(int wo, int t,
int a)
   { 
      d= wo*t+ (a*t*t)/2 ;
      return d;
      }
5.- PROMEDIO ARITMETICO Y MULTIPLICACION 
#include<iostream>
using
namespace std;
 // 1) DECLARACION
    int  a,b,c,d,e;
    float f,g,r1, r2;
   float
media_aritmetica(int a,int b, int c,int d, int e);  // DECLARACION DE LA FUNCION
   float multiplicacion(int a,int b, int c,int d,
int e); 
int main()
{
   //asignación
    cout <<"INGRESE PRIMER ELEMENTO:
";   
    cin>>a;
    cout<<endl;
    cout <<"INGRESE SEGUNDO ELEMENTO:
";   
    cin>>b;
    cout<<endl;
    cout <<"INGRESE TERCER ELEMENTO:
";   
    cin>>c;
    cout<<endl;
    cout <<"INGRESE CUARTO ELEMENTO:
";   
    cin>>d;
    cout<<endl;
    cout <<"INGRESE QUINTO ELEMENTO:
";   
    cin>>e;
    cout<<endl;
   // proceso
     r1 =
media_aritmetica(a,b,c,d,e);  //
INVOCACION
     r2 =
multiplicacion(a,b,c,d,e);
       
cout<<endl;
    cout
<<"LA MEDIA ARITMETICA ES : 
"<<r1;    
    cout<<endl;
    cout
<<"LA MULTIPLICACION DE LOS TERMINOS ES  : 
"<<r2;
    cout<<endl;
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS
FUNCIONES
   float
media_aritmetica(int a,int b, int c,int d, int e)
  { 
      f= (a+b+c+d+e)/5;
      return f;
      }
   float multiplicacion(int a,int b, int c,int
d, int e)
   { 
      g=a*b*c*d*e ;
      return g;
      }
6.- CONVERSIÓN DETEMPERATURA
#include<iostream>
using
namespace std;
 // 1) DECLARACION
    int 
c;
    float k,f,r,r1,r2,r3;
   float grados_kelvin(int c);  // DECLARACION DE LA FUNCION
   float grados_fahrenheit(int c);
   float grados_rankine(int c);  
int main()
{
   //asignación
    cout <<"INGRESE GRADOS
CELSIUS  ";   
    cin>>c;
    cout<<endl;
    cout<<endl;
   // proceso
   r1=
grados_kelvin(c);  // DECLARACION DE LA
FUNCION
   r2=
grados_fahrenheit( c);
   r3= grados_rankine(
c);
        cout<<endl;
    cout <<"CELSIUS A KELVIN :  "<<r1;    
    cout<<endl;
    cout <<"CELSIUS A FAHRENHEIT
:  "<<r2;
    cout<<endl;
    cout <<"CELSIUS A RANKINE :  "<<r3;
    cout<<endl;
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS
FUNCIONES
   float
grados_kelvin(int c)
  { 
    k=
c-273 ;
      return k ;
      }
   float grados_fahrenheit(int c)
   { 
         f= 1.8*c +32
    ;
      return f;
      }
   float grados_rankine(int c)   
   { 
         r= 1.8*c +
492
    ;
      return r;
      }
8.- ESPACIO 
#include<iostream>
using namespace std;
 // 1) DECLARACION
    int  v,t;
    float e, r1;
   float espacio_(int v, int t);  // DECLARACION DE LA FUNCION
int main()
{
     //asignación
    cout <<"INGRESE LA VELOCIDAD CONSTANTE  : ";   
    cin>>v;
    cout<<endl;
    cout <<"INGRESE EL TIEMPO : ";   
    cin>>t;     
    cout<<endl;
   // proceso
     r1 = espacio_(v,t );  // INVOCACION
        cout<<endl;
    cout <<"EL ESPACIO ES "<<r1;    
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS FUNCIONES
   float espacio_(int v, int t)
  { 
      e=v*t;
      return e;
      }
9.- SUMA Y PRODUCTO DE RAICES
#include<iostream>
using namespace std;
 // 1) DECLARACION
    int  a,b,c;
    float s,p, r1,r2;
   float suma_raices(int a, int b);  // DECLARACION DE LA FUNCION
   float producto_raices(int c, int a); 
int main()
{
     //asignación
    cout <<"INGRESE LA CONSTANTE DEL TERMINO CUADRATICO  : ";   
    cin>>a;
    cout<<endl;
    cout <<"INGRESE LA CONSTANTE DEL TERMINO LINEAL : ";   
    cin>>b;     
    cout<<endl;
     cout <<"INGRESE EL TERMINO INDEPENDIENTE : ";   
    cin>>c;     
    cout<<endl;
   // proceso
     r1 = suma_raices(a,b);  // INVOCACION
     r2 = producto_raices(a,c);
    cout<<endl;
    cout <<"LA SUMA DE RAICES ES "<<r1;    
    cout<<endl;
    cout <<"EL PRODUCTO DE RAICES ES "<<r2;    
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS FUNCIONES
   float suma_raices(int a, int b)
  { 
      s =-b/a;
      return s; 
      }
   float producto_raices(int c, int a)
  { 
      p=c/a;
      return p;
      }
10.- TRINOMIO AL CUADRADO
#include<iostream>
using namespace std;
 // 1) DECLARACION
    int  a,b,c;
    float s,p, r1,r2;
   float trinomiocuadrado(int a, int b, int c);  // DECLARACION DE LA FUNCION
   float trinomiocubo(int a, int b, int c);
int main()
{
     //asignación
    cout <<"INGRESE PRIMER TERMINO : ";   
    cin>>a;
    cout<<endl;
    cout <<"INGRESE SEGUNDO TERMINO : ";   
    cin>>b;     
    cout<<endl;
     cout <<"INGRESE TERCER TERMINO : ";   
    cin>>c;     
    cout<<endl;
   // proceso
     r1 = trinomiocuadrado(a,b,c);  // INVOCACION
     r2 = trinomiocubo(a,b,c);
    cout<<endl;
    cout <<"EL TRINOMIO AL CUADRADO ES  "<<r1;    
    cout<<endl;
    cout <<"EL TRINOMIO AL CUBO ES  "<<r2;    
    cout<<endl;
        system("pause");
        return 0;
        }
  // DESARROLLO DE LAS FUNCIONES
   float trinomiocuadrado(int a, int b, int c)
  { 
      s =a*a+b*b+c*c+2*a*b+2*a*c+2*b*c;
      return s; 
      }
   float trinomiocubo(int a, int b, int c)
  { 
      p =a*a*a+b*b*b+c*c*c+3*a*a*b+3*a*a*c+3*a*b*b+3*a*c*c+3*b*c*c+6*a*b*c;
      return p; 
      }
 
















