Пример #1
0
        static void Main(string[] args)
        {
            /*
            Program euler = new Program();
            euler.executaEuler();

            CORRETO
            */
            FuncoesDeEuler eulerTeste = new FuncoesDeEuler();
            eulerTeste.EulerModularMelhorada2(1, 0, 4, 0.5, 7);
            Console.ReadLine();

            FuncoesDeRKeRalston testeRalston = new FuncoesDeRKeRalston();
            testeRalston.CalculaRalston(0, 4, 0.5);
            Console.ReadLine();

            FuncoesDeRKeRalston testeRK4 = new FuncoesDeRKeRalston();
            testeRK4.CalculaRK4Ordem(0, 4, 0.5);
            Console.ReadLine();
        }
Пример #2
0
 private double[] ObtemValoresRalston(double xi, double xf, double h)
 {
     double[] valoresRalston;
     FuncoesDeRKeRalston execucaoRalston = new FuncoesDeRKeRalston();
     valoresRalston = execucaoRalston.CalculaRalston(xi, xf, h);
     return valoresRalston;
 }