A program for graphically plotting directional fields of user-defined first-order explicit differential equations and their isolines (of select equations only), featuring a command line interface as input and graphical output, written in Java.

This application was created as part of one of my courses. The input menu offers the option to select one of three already implemented equations or to enter one of your own. In addition, it offers the option to recall the last self-entered equation in the following iteration, which saves some typing. The input menu also offers an options submenu. Here you can choose between more or less line elements, switch the animations on or off (graphical buildup of the interface), or quit the program. The slope of each line element is calculated using the respective x and y coordinates and plotted in an area around the point represented by a tangent. The equation of the isolines is determined by solving the differential equation for y and substituting the slope (y’ = c) for the equation of interest. A selection of these equations is then plotted.

 

-> Try it out

-> JavaDoc (🇩🇪)

-> Written report (🇩🇪)

-> Project on GitHub

 

direction fields