diff --git a/logax.java b/logax.java new file mode 100644 index 0000000..4f15e15 --- /dev/null +++ b/logax.java @@ -0,0 +1,15 @@ + +public class logax { + public static void main(String[] args) + { + double a=logax(4,2); + System.out.print(a); + } +public static double logax(double value,double base) +{ + + + return Math.log(value) / Math.log(base); + +} +}