Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

atan() - Return the Tangent of value as a Argument in Java

  1. //atan() - Return the Tangent of value as a Argument
  2. import java.lang.Math.*;
  3. class Demotan
  4. {
  5. public static void main(String args[])
  6. {
  7. double v= 0.5;
  8. System.out.println("Arc tangent of "+v+"is" + Math.atan(v));
  9. }
  10. }
  11.  


Arc tangent of 0.5is0.4636476090008061