12345678910111213141516171819202122232425262728293031323334 |
-
- /**
- * Write a description of class bonusFunctions here.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class bonusFunctions
- {
- /**
- * 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 naturalLogLn(double x)
- {
- // put your code here
- return Math.log(x);
- }
-
- public double LogBaseTenOfAnumber(double x)
- {
- // put your code here
- return Math.log10(x);
- }
-
- public double exponential(double x)
- {
- // put your code here
- return Math.exp(x);
- }
- }
|