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(); }
private double[] ObtemValoresRungeKutta4(double xi, double xf, double h) { double[] valoresRungeKutta4; FuncoesDeRKeRalston execucaoRungeKutta4 = new FuncoesDeRKeRalston(); valoresRungeKutta4 = execucaoRungeKutta4.CalculaRK4Ordem(xi, xf, h); return valoresRungeKutta4; }