//atan() - Return the Tangent of value as a Argument import java.lang.Math.*; class Demotan { public static void main(String args[]) { double v= 0.5; System.out.println("Arc tangent of "+v+"is" + Math.atan(v)); } }
Arc tangent of 0.5is0.4636476090008061 |
---|