2:36 am - Friday April 19, 2019

Math Example Program for log(double a)

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044
//Example Program to find log(double a) value
/**
 * @author:Candidjava.com
 * @description:used for Check the natural logarithm (base e) of a double value.
 */
public class Log {
	public static void main(String[] args) {
		double i = 4.20;
		double log = Math.log(i);
		// Returns the natural logarithm (base e) of a double value.
		System.out.println("log value is: " + log);
	}
}

Output :
log value is:1.4350845252893227

Filed in: Z-A All Java Codes

Comments are closed.