Example #1
0
 static void Main(string[] args)
 {
     EjerciciosExamen.Ejercicio27();
 }
Example #2
0
        static void Main(string[] args)
        {
            /*
             * double solution1, solution2;
             * solution1 = EquationSolvers.SolveEquation2(2.0, -5.0, 7.0);
             *
             * solution2 = EquationSolvers.SolveEquation1(5.0, 10.0);
             *
             * Console.WriteLine(solution1);
             * Console.WriteLine(solution2);
             *
             * double l1;
             * l1 = Geometry.GetVector2DLength(5.0, -4.0);
             *
             * double l2;
             * l2 = Geometry.CalculateDistance2D(0.0, 0.0, 1.0, 1.0);
             *
             * double l3;
             * l3 = Geometry.GetVector3DLength(5.0, 9.0, 7.0);
             *
             * double a1;
             * a1 = Geometry.GetCircleArea(5.0);
             *
             * double v1;
             * v1 = Geometry.GetSphereVolume(5.0);
             *
             * double a2;
             * a2 = Geometry.GetRectangleArea(5.0, 7.0);
             *
             * int m1;
             * m1 = Utils.GetMinValue1(9, 8);
             *
             * int m2;
             * m2 = Utils.GetMinValue2(9, 8);
             *
             * bool p1;
             * p1 = Utils.IsEven(1);
             *
             * Ejercicios.Ejercicio1();
             *
             * Ejercicios.Ejercicio2(12);
             *
             * Ejercicios.EjercicioSerie1();
             *
             * Ejercicios.EjercicioSerie2();
             *
             * Ejercicios.EjercicioSerie3();
             *
             * Ejercicios.EjercicioSerie4();
             *
             * Ejercicios.EjercicioSerie5();
             *
             * Ejercicios.EjerciciosSerie6();
             *
             * Ejercicios.ImprimirAscii();
             */
            EjerciciosExamen.ExEjercicio1(1, 3);

            EjerciciosExamen.ExEjercicio2(8.6, 2.3);

            EjerciciosExamen.ExEjercicio3(8, 10);

            EjerciciosExamen.ExEjercicio4(8, 10);
        }
Example #3
0
        static void Main(string[] args)
        {
            /*double solution, solution1, solution2, solution3;
             * solution = EquationSolvers.SolveEquation2(1.0, -2.0, 3.0);
             * Console.WriteLine("Hello World!");
             *
             * solution1 = EquationSolvers.SolveEquation1(3.0, 3.0);
             *
             * solution2 = EquationSolvers.SolveEquation1(2.0, 10.0);
             *
             * solution3 = EquationSolvers.SolveEquation2(3.0, -14.0, 1.0);
             *
             * double l1, l2, l3, l4;
             * l1 = Geometry.CalculateVectorLenght3D(5.0, -4.0, 6.0);
             *
             * l2 = Geometry.CalculateDistance3D(0.0, 0.0, 1.0, 1.0, 2.0, 1.0);
             *
             * l3 = Geometry.CalculateDistance3D(1.0, 2.0, 3.0, 4.0, 5.0, 5.0);
             *
             * l4 = Geometry.CalculateDistance3D(5.0, 24.0, 12.0, 6.0, 1.0, 3.0);
             *
             * double A1, A2;
             * A1 = Geometry.GetCircleArea(3.0);
             *
             * A2 = Geometry.GetCircleArea(8.5);
             *
             * double V1, V2;
             * V1 = Geometry.GetVolumeSphere(5.0);
             *
             * V2 = Geometry.GetVolumeSphere(6.3);
             *
             * double R1, R2, R3;
             * R1 = Geometry.GetRectangleArea(6.0, 3.0);
             *
             * R2 = Geometry.GetRectangleArea(12.0, 21.5);
             *
             * R3 = Geometry.GetRectangleArea(5.1, 83.9);
             *
             * double Min1, Min2, Min3;
             * Min1 = Utils.GetMinValue(2, 5);
             *
             * Min2 = Utils.GetMinValue(7, 1);
             *
             * Min3 = Utils.GetMinValue(8, 5);
             *
             * double Max1, Max2, Max3;
             * Max1 = Utils.GetMaxValue(15, 2);
             *
             * Max2 = Utils.GetMaxValue(5, 65);
             *
             * Max3 = Utils.GetMaxValue(560, 786);
             *
             * bool Even1, Even2, Even3;
             * Even1 = Utils.IsEven(58);
             *
             * Even2 = Utils.IsEven(97);
             *
             * Even3 = Utils.IsEven(781);
             *
             * //Ejercicio Contador del 0 al 99
             *
             * Ejercicios.Ejercicio1();
             *
             * //Ejercicio Contador Numeros pares
             *
             * Ejercicios.Ejercicio2(20);
             *
             * Ejercicios.Ejercicio3(10);
             *
             * //Ejercicio Serie Fabonnacci
             *
             * Ejercicios.SerieFibonacci();
             *
             * //Ejercicio tabla Ascii
             *
             * Ejercicios.ImprimirAscii();
             *
             * EjerciciosExamen.HacerSuma(523, 7);
             * EjerciciosExamen.HacerSuma(100, 20);
             * EjerciciosExamen.HacerSuma(25, 25);
             *
             * double result = EjerciciosExamen.HacerResta(3, 2);
             * System.Console.WriteLine(result);
             * double result1 = EjerciciosExamen.HacerResta(10, 8);
             * System.Console.WriteLine(result1);
             * double result2 = EjerciciosExamen.HacerResta(250, 230);
             * System.Console.WriteLine(result2);
             * double result3 = EjerciciosExamen.HacerResta(10, 210);
             * System.Console.WriteLine(result3);
             *
             * double max = EjerciciosExamen.ObtenerValorMaximo(6, 8);
             * System.Console.WriteLine(max);
             * double max1 = EjerciciosExamen.ObtenerValorMaximo(15, 12);
             * System.Console.WriteLine(max1);
             * double max2 = EjerciciosExamen.ObtenerValorMaximo(2510, -12);
             * System.Console.WriteLine(max2);
             * double min = EjerciciosExamen.ObtenerValorMinimo(1, -1);
             * System.Console.WriteLine(min);
             * double min2 = EjerciciosExamen.ObtenerValorMinimo(250, 145);
             * System.Console.WriteLine(min2);
             *
             * EjerciciosExamen.EjercicioExamen5(25, 2);
             * EjerciciosExamen.EjercicioExamen5(150, 45);
             * EjerciciosExamen.EjercicioExamen5(25, 26);
             * EjerciciosExamen.EjercicioExamen5(75, 200);
             * EjerciciosExamen.EjercicioExamen5(25, 25);
             * EjerciciosExamen.EjercicioExamen5(-1, -1);
             *
             * EjerciciosExamen.PrintErrorCode(2);
             * EjerciciosExamen.PrintErrorCode(0);
             * EjerciciosExamen.PrintErrorCode(3);
             * EjerciciosExamen.PrintErrorCode(1);
             *
             * EjerciciosExamen.MakeSerie(10);
             *
             *
             * EjerciciosExamen.AsteriscoSuma(10);
             * EjerciciosExamen.AsteriscoSuma(5);
             *
             *
             * EjerciciosExamen.AsteriSumaRestaDivision(25);
             *
             *
             * EjerciciosExamen.InvertAstPiramide(2);
             * System.Console.WriteLine();
             * EjerciciosExamen.AstPiramide(10);
             * System.Console.WriteLine();
             * EjerciciosExamen.Rombo(10);
             * System.Console.WriteLine();
             *
             *
             * while (true)
             * {
             *  for (int i = 0; i < 10; i++)
             *  {
             *      EjerciciosExamen.Rombo(i);
             *      System.Threading.Thread.Sleep(200);
             *      System.Console.Clear();
             *  }
             * }
             */

            EjerciciosExamen.EEUUflag();
        }