/** * Write a description of class ScientificFeatures here. * * @author (your name) * @version (a version number or a date) */ public class ScientificFeatures extends MainApplication { // instance variables - replace the example below with your own private int x; private double logarithmNumber; //private double /** * Constructor for objects of class ScientificFeatures */ public ScientificFeatures() { // initialise instance variables x = 0; } /** * An example of a method - replace this comment with your own * * @param y a sample parameter for a method * @return the sum of x and y */ public double logarithm(double logThis) { logarithmNumber = Math.log(logThis); return logarithmNumber; } }