Java Absolute Value Function Graph