HOLA

Páginas: 7 (1531 palabras) Publicado: 12 de octubre de 2014
#include
#include
main ()
{
printf ("\n \n\n\t \t\t PROGRAMA NUMERO 1");
printf ("\n \n \n \n \n\t ********* *** * *");
printf ("\n \t * * * * *** * *");
printf ("\n \t * * * * ***** * *");
printf ("\n \t * * * * * * *");
printf("\n \t * * * * * * *");
printf ("\n \t * * * * * * *");
printf ("\n \t * * * * * * *");
printf ("\n \t * * * * * * *");
printf ("\n \t ********* *** * *");
printf ("\n \n \n");

getch ();
}#include
#include
main ()
{
int a=50, b=80, c=150, rt;
printf ("\n \n \t RESISTENCIA TOTAL DE UN CIRCUITO EN SERIE");

printf("\n\n\n FORMULA PARA CALCULAR LA RESISTENCIA TOTAL DE UN CIRCUITO EN SERIE :");
printf ("\n \n \t Rt= R1 + R2 + R3 + ...");
printf ("\n \n \t VALORES: 50 ohms , 80 ohms y 150 ohms");
rt=a+b+c;
printf ("\n \n \t LARESISTENCIA TOTAL DEL CIRCUITO EN SERIE ES: %d ohms",rt);
getch ();
}
#include
#include
main ()
{
float v, t, d;
printf ("\n \n \t CALCULAR EL VALOR DE LA DISTANCIA EN MILLAS");
printf ("\n \n FORMULA : D=v*t ");
printf ("\n \n\n Ingrese la velocidad en millas/hora: ");
scanf ("\n \n \t %f", &v);
printf ("\n \n Ingrese el tiempo en horas:");
scanf ("\n \n \t %f", &t);
d=v*t;
printf ("\n \n \n LA DISTANCIA ES : %.1f millas ",d);
getch ();
}
#include
#include
#include
main ()
{
float ergios, fergios=14.65, m=1.672, pi=3.1416, m1, lergios, m2;
printf ("\n \nEscribir un programa para determinar el valor de ergios");
printf ("\n \n\n FORMULA: Ergios= fergios*raiz delergios");
printf ("\n \n \n DONDE: lergios= 2%ce%cm",244,94);
printf ("\n \n fergios= 14.65m");
printf ("\n \n m=1.672 ");

m1=2*pi;
lergios = pow (m1,m);
m2= sqrt (lergios);
ergios=fergios*m2;
printf ("\n \n \n ENTONCES :");
printf ("\n \n \t lergios = %.2f",lergios);
printf ("\n \n \t raiz delergios es = %.2f",m2);
printf ("\n \n \n \n \t EL RESULTADO FINAL ES : %.2f ergios",ergios);
//auxc=sqrt(c,raiz)

getch ();
}
#include
#include
#include
main ()
{
float desaceleracion=12, s=60, tiempotranscurrido=10, distancia, m1, m2, m3,tcuadrado;

printf ("\n \t PROGRAMA QUE CALCULA LA DISTANCIA RECORRIDA POR UN AUTOMOVIL");

printf ("\n\n Calcular ladistancia recorrida por un automóvil despues de 10 segundos, ");
printf ("\n suponiendo que el automovil viaja inicialmente a 60 millas por hora y el ");
printf ("\n conductor aplica los frenos para desacelerar de manera uniforme a una ");
printf ("\n velocidad de 12 millas/s%c.",94);

printf ("\n\n Use el hecho que la");
printf ("\n\n distancia = s-(1/2)dt%c2",94);
printf ("\n\n donde s es lavelocidad inicial del automovil");
printf ("\n\n d es la desaceleracion ");
printf ("\n\n t es el tiempo transcurrido. ");

//distancia ???
//s > velocidad inicial 60 millas * hora
//d > desaceleracion 12 millas /s cuadrado
//t > tiempo transcurrido 10s

tcuadrado = pow (tiempotranscurrido,2);
m1=tcuadrado*desaceleracion;
m2=m1*(1/2);
distancia=s-m2;


printf ("\n \n \n \t\t LADISTANCIA ES : %.2f millas por hora",distancia);

getch ();
}
#include
#include
main ()
{
float intereses, gan, venta=24, totaos, aoc=1627, aof=2009;

printf ("\n \t PROGRAMA QUE CALCULA INTERESES DE UNA VENTA DE UNA ISLA");
printf ("\n \n \n En 1627, determinada isla fue vendida a los colonizadores");
printf ("\n holandeses por aproximadamente 24...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • hola hola hola hola
  • hola hola hola hola hola
  • hola hola hhola hola y hola
  • hola hola hola
  • Hola Hola Hola
  • Hola Hola Hola
  • hola hola hola
  • Hola hola

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS