Graph plotting for log/exp/special curvers/trig functions in TurboC++ and Java Swing AWT