예제 #1
0
        //EMPIEZA CLASE PRINCIPAL
        static void Main(string[] args)
        {
            CalcularIntegral C = new CalcularIntegral();
            double total = C.terminos(1.1, 10, 9);
            total = Math.Round(total, 5);
            Console.WriteLine(total);

            CalcularIntegral C1 = new CalcularIntegral();
            double total2 = C1.terminos(1.1812, 10, 10);
            total2 = Math.Round(total2, 5);
            Console.WriteLine(total2);

            CalcularIntegral C2 = new CalcularIntegral();
            double total3 = C2.terminos(2.750, 10, 30);
            total3 = Math.Round(total3, 5);
            Console.WriteLine(total3);
            Console.ReadLine();
        }
예제 #2
0
파일: Program.cs 프로젝트: AAlvz/Stuff
        //EMPIEZA CLASE PRINCIPAL
        static void Main(string[] args)
        {
            CalcularIntegral C     = new CalcularIntegral();
            double           total = C.terminos(0.55338, 10, 6);

            total = Math.Round(total, 5);
            Console.WriteLine(total);

            CalcularIntegral C1     = new CalcularIntegral();
            double           total2 = C1.terminos(1.1812, 10, 10);

            total2 = Math.Round(total2, 5);
            Console.WriteLine(total2);

            CalcularIntegral C2     = new CalcularIntegral();
            double           total3 = C2.terminos(2.750, 10, 30);

            total3 = Math.Round(total3, 5);
            Console.WriteLine(total3);
            Console.ReadLine();
        }