A Java application which graphs functions