Está en la página 1de 10

ENERGIA CINETICA #include <iostream> #include <math.

h> using namespace std; int main() { double masa; double velocidad; double Ec; masa = 25; velocidad = 10; Ec = (masa/2) * pow(velocidad,2); cout << " Energia cinetica\n " << endl; cout << " masa = 25 " << endl; cout << " velocidad = 10 " << endl; cout << " Ec = ? " << endl; cout << masa << " / 2 " << pow(velocidad,2) << " = " << Ec << endl; system("pause"); return 0; }

DISTANCIA I
#include <iostream> using namespace std; int main() { int velocidad; int tiempo; int aceleracion; int distancia; velocidad = 20; tiempo = 5; aceleracion = 15; distancia = ( velocidad * tiempo )+ ( aceleracion * tiempo * tiempo / 2 ); cout << " HALLANDO LA DISTANCIA\n " << endl; cout << " Velocidad = 20 " << endl; cout << " Tiempo = 5 " << endl; cout << " Aceleracion = 15 " << endl; cout << " FORMULA : Distancia = ( velocidad * tiempo ) + ( aceleracion * tiempo * tiempo / 2)\n " << endl; cout << velocidad << " * " << tiempo << " + " << aceleracion << " * " << tiempo << " * " << tiempo << " / 2 " << " = " << distancia << endl; system( " pause " ); return 0; }

ENERGIA POTENCIAL ELASTICA


#include <iostream> #include <math.h> using namespace std; int main() { double k; double delta; double Epe; k = 12; delta = 24; Epe = ( k / 2 ) * pow(delta,2); cout << " ENERGIA POTENCIAL ELASTICA\n " << endl; cout << " k = 12 " << endl; cout << " delta = 24 " << endl; cout << " Epe = ?\n " << endl; cout << " FORMULA : Epe = 1/2(k)(delta)(delta)\n" << endl; cout << k << " * " << pow(delta,2) << " / 2 " << " = " << Epe << endl; system ( " pause " ); return 0; }

MODULO DE YOUNG
#include <iostream> using namespace std; int main() { int fuerza; int longitud; int area; int delta; int My; fuerza = 36; longitud = 12; area = 24; delta = 8; My = ( fuerza * longitud / area * delta ); cout << " MODULO DE YOUNG\n " << endl; cout << " Fuerza = 36 " << endl; cout << " Longitud = 12 " << endl; cout << " Area = 24 " << endl; cout << " Delta = 8 " << endl; cout << fuerza << " * " << longitud << " / " << area<< " * " << delta << " = " << My << endl; system ( "pause" ); return 0; }

Area del triangulo


#include <iostream> using namespace std; int main() { int base; int altura; int area ; base = 36; altura = 30; area = ( base * altura / 2 ); cout << " AREA DEL TRIANGULO\n " << endl; cout << " Base = 36 " << endl; cout << " Altura = 30 " << endl; cout << "FORMULA : AREA = ( base * altura ) /2\n " << endl; cout << base << " * " << altura << " / 2 " << " = " << area << endl; system( " pause " ); return 0; }

ENERGIA GRAVITATORIA
#include <iostream> using namespace std; int main() { int masa; int gravedad; int altura; int Ep; masa = 50; gravedad = 10; altura = 250; Ep = (masa)*(gravedad)*(altura); cout << " ENERGIA POTENCIAL GRAVITATORIA\n" << endl; cout << " Masa = 50 " << endl; cout << " Gravedad = 10 " << endl; cout << " Altura = 250 " << endl; cout << " FORMULA : Ep = masa * gravedad * altura\n " << endl; cout << masa << " * " << gravedad << " * " << altura << " = " << Ep << endl; system(" pause "); return 0; }

DISTANCIA II
#include <iostream> using namespace std; int main() { int velocidadI; int tiempo; int velocidadII; int d; velocidadI = 10; tiempo = 6; velocidadII = 50; d = ( velocidadI + velocidadII ) / 2 * ( tiempo ); cout << " HALLANDO LA DISTANCIA\n " << endl; cout << " Velocidad inicial = 10 " << endl; cout << " Tiempo = 6 " << endl; cout << " velocidad final = 50 " << endl; cout << " FORMULA : D = ( veloc. ini. + veloc. final ) / 2 * tiempo\n " << endl; cout << velocidadI << " + " << velocidadII << " / 2 * " << tiempo << " = " << d << endl; system( " pause " ); return 0; }

PITAGORAS
#include <iostream> #include <math.h> using namespace std; int main() { double adyacente; double opuesto; double hipotenusa; adyacente = 3; opuesto = 4; ( hipotenusa) = sqrt( pow(adyacente,2) + pow( opuesto,2 )); cout << " PITAGORAS\n" << endl; cout << " Adyacente = 3 " << endl; cout << " Opuesto = 4 " << endl; cout << " FORMULA : Hipotenusa^2 = adyacente^2 + opuesto^2\n " << endl; cout << pow(adyacente,2)<< " + " << pow (opuesto,2) << " = " << hipotenusa << endl; system( " pause " ); return 0; }

VELOCIDA FINAL
# include <iostream> using namespace std; int main () { int aceleracion; int velocidadI; int tiempo; int v; velocidadI = 100; aceleracion = 20; tiempo = 4; v = (velocidadI) + (aceleracion * tiempo); cout << " VELOCIDAD FINAL\n" << endl; cout << " Aceleracion = 20 " << endl; cout << " VelocidadI = 100 " << endl; cout << " Tiempo = 4 " << endl; cout << " FORMULA : V = velocidad + ( aceleracion * tiempo )\n " << endl; cout << velocidadI << " + " << aceleracion << " * " << tiempo << " = " << v << endl; system ( " pause " ); return 0; }

PRESION HIDROSTATICA
#include <iostream> using namespace std; int main() { int densidad; int gravedad; int altura; int Ph; densidad = 25; gravedad = 10; altura = 15; Ph = (densidad)*(gravedad)*(altura); cout << " PRESION HIDROSTATICA\n " << endl; cout << " densida =25" << endl; cout << " gravedad =10" << endl; cout << " altura =15\n" << endl; cout << " Ph = (densidad)*(gravedad)*(altura)\n" << endl; cout << densidad << "*" << gravedad << "*" << altura << "="<< Ph << endl; system("pause"); return 0; }

También podría gustarte