rk4odes/GUI/GUI.py
def solve(self):
        """
        To use the -solve- function of RK4 and solve the equation that was
        entered in the GUI
        """

        # Initialize Runge-Kutta firstorder ode
        methd = firstorder(self.eqn.get())
        r = methd.solve(np.double(self.ti.get()), np.double(self.yi.get()),
                        np.double(self.t.get()), np.double(self.h.get()))
        # Obtain values of solution
        self.ts, self.ys = methd.get_vals()
        self.computed.set(r)

        To use the -solve- function of RK4 and solve the equation that was
        entered in the GUI
        
To use the -solve- function of RK4 and solve the equation that was
entered in the GUI
To use the - solve - function of RK4 and solve the equation that was entered in the GUI
def solve(self):
        methd = firstorder(self.eqn.get())
        r = methd.solve(np.double(self.ti.get()), np.double(self.yi.get()),
                        np.double(self.t.get()), np.double(self.h.get()))
        self.ts, self.ys = methd.get_vals()
        self.computed.set(r)
def solve ( self ) : methd = firstorder ( self . eqn . get ( ) ) r = methd . solve ( np . double ( self . ti . get ( ) ) , np . double ( self . yi . get ( ) ) , np . double ( self . t . get ( ) ) , np . double ( self . h . get ( ) ) ) self . ts , self . ys = methd . get_vals ( ) self . computed . set ( r )
To use the -solve- function of RK4 and solve the equation that was
entered in the GUI
To use the - solve - function of RK4 and solve the equation that was entered in the GUI
"""
        To use the -solve- function of RK4 and solve the equation that was
        entered in the GUI
        """ # Initialize Runge-Kutta firstorder ode # Obtain values of solution
self