Using tan function : tan « System Functions « Perl






Using tan function

     

use Math::Trig;

print "The tangent of 0 = ", tan(0), "\n";

   
    
    
    
    
  

Related examples in the same category

1.print POSIX::tan(atan2 (1, 1));