Program to illustrate the atan( ) function


    #include <iostream.h>
    #include <math.h>                      // defines the atan( ) function
      #include <conio.h>

    void main ( )
    {
        double result ;
        double i = 0.5 ;
        result = atan ( i ) ;
        cout<<"\n The arc tangent of "<< i << " is "<< result;
        getch () ;
    }

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|