Anda di halaman 1dari 13

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 01
#include <iostream> #include <string> using namespace std; #define g 9.8 #define y 0.000001 #define NUEVALINEA '\n'; int main () { system("Color A4"); double F ; double S; double m; double E; string mensaje; mensaje = "Problema No 01"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "Al tensar un alambre de (Cu),cuya seccion transversal tenia 1.5mm?^2 de area, se observo que al comienzo de la deformacion permanente correspondia a la carga de 4.5Kgf.Cual es el limite de elasticidad del material de que esta hecho el alambre?"; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "Hallando la fuerza"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; F = m*g; cout << F << = << m << * << g << endl ; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "Comvirtiendo 1.5mm?^2 a m?^2 y hallando el area"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; S = 1.5* 0.000001; cout << S; mensaje = "Reemplazando en la formula del esfuerzo"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; E= F*g/S*y; cout << E; cout << NUEVALINEA; cout << NUEVALINEA; system("pause"); return 0; }

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 02
#include <iostream> #include <string> using namespace std; #define NUEVALINEA '\n'; int main () { system("Color A4"); double T; double Vo2 = 40 ; double Vo1 = 0 ; double Vf1 = 60 ; double Vf2 = 40 ; double d = 50 ; double dt ; double a ; string mensaje; mensaje = "PROBLEMA No O2"; cout << mensaje << endl; mensaje= " Por un punto A una particula pasa con una velocidad de 40 m/s; 50 m mas adelante la velocidad de la particula es de 60 m/s. Si la particula realiza MRUV; entonces las distancia desde que partio las partiula del reposo hasta el punto A es:"; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "a) Hallamos el tiempo en el tramo AB:"; cout << mensaje << endl; T= 2*d/(Vo2 +Vf1); cout << T; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "b) Hallamos la aceleracion en este tramo:"; cout << mensaje << endl; a= (Vf1 - Vo2)/T; cout << a ; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "c) Luego el tramo de partida al punto A: "; cout << mensaje << endl; dt = (Vf2*Vf2-Vo1*Vo1)/2*a; cout << dt ; cout << NUEVALINEA; cout << NUEVALINEA; system("pause"); }

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 03
#include <iostream> #include <string> using namespace std; #define g 9.8 #define NUEVALINEA '\n'; int main () { system("Color A4"); double Vo = 8; double Ho; double t = 4; string mensaje; mensaje = "PROBLEMA No O3"; cout << mensaje << endl; mensaje = "Un globo aerostatico esta subiendo con la velocidad de 12 m/s. Si estando a una altura Ho, desde el globo se lanza hacia abajo una piedra con una velocidad de 4 m/s; el tiempo que tard en llegar a tierra es 4; hallar la altura:"; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "Usando la ecuacion Ho=Vo*t - 1/2*g*t*t "; cout << mensaje << endl; Ho = Vo*t - (g*t*t)/2; cout << Ho; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "RESPUESTA: -46 m (por debajo del punto de referencia)"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; system("pause"); return 0;

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 04
#include <iostream> #include <string> using namespace std; #define g 9.8 #define NUEVALINEA '\n'; int main () { system("Color A4"); double EM; double m=2; double v1=50; double v2=30; double Ec1; double Ec2; double h; double Ep; double Epg; string mensaje; mensaje = "PROBLEMA No O4"; cout << mensaje << endl; mensaje = "Una pelota de 2 kg se patea desde el piso con 50 m/s, si alcanza su altura maxima con 30 m/s, entonces el valor de:"; cout << mensaje << endl; mensaje = "a) La energia mecanica inicial."; cout << mensaje << endl; mensaje = "b) La energia cinetica en la posicion mas alta"; cout << mensaje << endl; mensaje = "c) La altura maxima alcanzada por la pelota"; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; mensaje = "a) La energia mecanica inicial: EM= Ec + Ep + Epg; como no hay Ep y Epg, entonces: EM= Ec"; cout << mensaje << endl; Ec1 = (m*v1*v1)/2 ; cout << Ec1; mensaje = "b) La energia cinetica en la posicion mas alta"; cout << mensaje << endl; Ec2 = m*v2*v2/2 ; cout << Ec2; mensaje = "c) La altura maxima alcanzada por la pelota, la energia se conserva:"; cout << mensaje << endl; mensaje = "EMA=EMB"; cout << mensaje << endl; h= (Ec1 - Ec2)/(m*g); cout << h; cout << NUEVALINEA; cout << NUEVALINEA; system("pause"); return 0; }

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 05
#include <iostream> #include <string> #include <math.h> using namespace std; #define g 9.8 #define NUEVALINEA '\n'; int main () { system("Color A4"); double EMA; double EMB; double m=2; double h=1.8; double VB; string mensaje; mensaje = "PROBLEMA No O5"; cout << mensaje << endl; mensaje = "Se muestra una esfera de 2 Kg unida a una cuerda ideal, que es soltada en el punto A. Calcule la rapidez de la esfera cuando pase por la posicion mas baja de su trayectoria. "; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "a)Luego de soltar la esfera,esta describe una trayectoria circunferencial siendo en su posicion mas baja en B"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "b)Como la unica fuerza que desarrolla trabajo es la fuerza de la gravedad, entonces la energia mecanica de la esfera se conserva"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "c)La energia mecanica en el punto A es la misma que en el punto B"; cout << mensaje << endl; mensaje = "EMA=EMB"; cout << mensaje << endl; VB =(pow(2*m*g*h,1.0/2)/m); cout << "VB" << "="<<"pow((2*m*g*h,1.0/2))"<< "/" << "m" << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "RESPUESTA: La rapidez de la esfera cuando pasa por la posicion mas baja de su trayectoria es 4.8 m/s "; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; system("pause"); return 0; }

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 06
#include <iostream> #include <string> using namespace std; #define NUEVALINEA '\n'; int main () { system("Color A4"); double Vr = 5; double Ar = 80; double V1b = 2; double V2b ; double D1b_2b = 500; double Te; double e2b; double e1b; double V2br; string mensaje; mensaje = "PROBLEMA No O6"; cout << mensaje << endl; mensaje = "La velocidad del agua de un rio es de 5 m/s y el ancho del mismo de 80 m. De una orilla y perpendicularmente a la misma, sale una barca con velocidad respecto a tierra de 2 m/s. Al mismo tiempo, por el centro del rio y a contracorriente, sale otra barca desde un punto situado a 500 m aguas abajo del primero. El cruce de ambos barcos tiene lugar en el punto medio del rio a igual distancia de ambas orillas. Calcular el tiempo que tardan en encontrarse, el espacio recorrido por la segunda barca y la velocidad de esta respecto al agua"; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "- El tiempo utilizado por ambas barcas en recorrer la distancia que las separa es, logicamente el mismo."; cout << mensaje << endl; mensaje = "- A la vez, cada componente de velocidad de la primera barca emplea tambien el mismo tiempo. De ese modo:"; cout << mensaje << endl; Te = (Ar/2)/V1b; cout << Te << "=" << Ar/2 << "/" << V1b << endl; mensaje ="- El espacio recorrido por la primera barca debido a la componente paralela a la velocidad del rio, sera :" ; cout << mensaje << endl; e1b = Vr * Te; cout << e1b << "=" << Vr << "*" << Te << endl; mensaje = "y, por lo tanto, la segunda barca avanzara:"; cout << mensaje << endl ; e2b = D1b_2b - e1b; cout << e2b << "=" << D1b_2b << "-" << e1b << endl; mensaje = "y lo hara a una velocidad de:"; cout << mensaje << endl; V2b= e2b/Te; cout << V2b << "=" << e2b << "/" << Te << endl;

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

mensaje = "Por todo ello, la velocidad de la segunda barca respecto del agua sera :"; cout << mensaje << endl; V2br = V2b + Vr; cout << V2br << "=" << V2b << "+" << Vr << endl; mensaje = "RESPUESTA :"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "a) El tiempo que tardan en encontrarse es 20 s"; cout << mensaje << endl; mensaje = "b) El espacio recorrido de la segunda barca es 400 m"; cout << mensaje << endl; mensaje = "c) La velocidad de la segunda barca con respecto al agua es 25 m/s"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; system ("pause"); return 0; }

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 07
#include <iostream> #include <string> #include <math.h> using namespace std; #define NUEVALINEA '\n'; int main () { system("Color A4"); double Tfinal ; double Tt = 400 ; double Tc = 360; double Te = 50 ; double Ttc ; double Tcc ; string mensaje; mensaje = "PROBLEMA No O7"; cout << mensaje << endl; mensaje = "Una plancha de tungsteno que se encontraba a 400ok se calienta en 360oF y luego se enfria a 50oC, su temperatura final es: "; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "- La temperatura final sale del resultado de la suma de las temperaturas por la cual a sido procesada "; cout << mensaje << endl; mensaje = "Tfinal = Ttc + Tcc + Te"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "-Convertimos todas las temperaturas a oC"; cout << mensaje << endl; mensaje = "a) La plancha del tungsteno que se encontraba a 400ok la tranformanos en oC"; cout << mensaje << endl; Ttc = ((Tt - 273)*1/5)*5 ; cout << Ttc << "=" << "((Tt-273)/5)" << "*5" << endl ; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "b) Cuando la plancha se calienta en 360oF la transformamos a oC"; cout << mensaje << endl; Tcc = ((Tc - 32)*5)*1/9; cout << Tcc << "=" << "(Tc - 32)/9" << "*5" << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "Ya transformados todos a la misma unidad sumamos"; cout << mensaje << endl ;

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

mensaje = "Tfinal = Ttc + Tcc + Te"; cout << mensaje << endl; Tfinal = Ttc + Tcc + Te; cout << Tfinal <<"=" << Ttc << "+" << Tcc << "+" << Te << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "RESPUESTA: La temperatura final es 359.222 oC:"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; system ("pause"); return 0;

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 08
#include <iostream> #include <string> #include <math.h> using namespace std; #define NUEVALINEA '\n'; #define PI 3.14 int main () {

system("Color A4"); double F1 = 60; double F2; double A1 = 0.0001; double A2; double r = 0.1; string mensaje; mensaje = "PROBLEMA No O8"; cout << mensaje << endl;

mensaje = "Para hacer funcionar el elevador de automiviles de una estacion de servicio, se utiliza una presion de 6 N/cm^2. Hallar el peso que podra levantar si el radio del piston grande mide 0.1m y el area del piston chico es 0.0001m^2."; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "-Las fuerzas son directamente proporcionales a su area: "; cout << mensaje << endl; mensaje = "F1/A1=F2/A2"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "pero:"; cout << mensaje << endl; mensaje = "A2=PI*r*r"; cout << mensaje << endl; A2= PI*r*r; cout << A2 << "=" << PI << "*" << r << "*" << r << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "entonces:"; cout << mensaje << endl;

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

mensaje = "F2 = (A2/A1)*F1"; cout << mensaje << endl; F2 = (A2/A1)*F1; cout << F2 << "=" << A2/A1 << "*" << F1 << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "RESPUESTA: El peso que debe levantar es 18840 N "; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; system ("pause"); return 0; }

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 09
#include <iostream> #include <string> #include <math.h> using namespace std; #define NUEVALINEA '\n'; #define Da 1 int main () { double D ; double m = 42 ; double v = 60; double Dr; string mensaje; mensaje = "PROBLEMA No O9"; cout << mensaje << endl; mensaje = "60cm^3 de una sustancia tiene una masa de 42 gr. Hallar:"; cout << mensaje << endl; mensaje = "a) Densidad absoluta "; cout << mensaje << endl; mensaje = "b) Densidad relativa"; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "a) Para hallar la densidad absoluta se aplica la siguiente formula:"; cout << mensaje << endl; mensaje = "D = m/v"; cout << mensaje << endl; D = m/v ; cout << D << "=" << m << "/" << v << endl; mensaje = "b) Para hallar la densidad relativa se utiliza:"; cout << mensaje << endl; mensaje = "Dr = Densidad del cuerpo/densidad del agua "; cout << mensaje << endl; mensaje = "Dr = D/Da"; cout << mensaje << endl; Dr = D/Da; cout << Dr << "=" << D << "/" << Da << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "RESPUESTA: "; cout << mensaje << endl; mensaje = "- La densidad absoluta es 0,7 g/cm^3" ; cout << mensaje << endl; mensaje = "- La densidad relativa es 0,7 g/cm^3" ; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; system ("pause"); return 0; }

"AO DE LA INTEGRACIN Y RECONOCIMIENTO DE NUESTRA DIVERSIDAD" UNIVERSIDAD NACIONAL SAN LUIS GONZAGA DE ICA

PROBLEMA N 10
#include <iostream> #include <string> #include <math.h> using namespace std; #define NUEVALINEA '\n'; #define K 9*1000000000 int main () { system("Color A4"); double E = 2 ; double Q ; double r = 0.50; string mensaje; mensaje = "PROBLEMA No 1O"; cout << mensaje << endl; mensaje = "Cual es la masa electrica Q cuyo campo electrico a 0.50 m de ella tenga de magnitud 2 N/C"; cout << mensaje << endl; mensaje = "SOLUCION"; cout << mensaje << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "Sabiendo que:"; cout << mensaje << endl; mensaje = "E = (K*Q)/(r*r)"; cout << mensaje << endl; mensaje = "Se trata de calcular la carga electrica creadora del campo"; cout << mensaje << endl; mensaje = "Q = (E*r*r)/K"; cout << mensaje << endl; Q = E*r*r/K ; cout << Q << "=" << E <<"*"<< r << "*" << r << "/" << K << endl; cout << NUEVALINEA; cout << NUEVALINEA; mensaje = "RESPUESTA: "; cout << mensaje << endl;

system ("pause"); return 0; }

Anda mungkin juga menyukai