How to calculate inverse tangent of a number in C

1 Answer

0 votes
#include<stdio.h>
#include <math.h>

int main(void) {
    printf("%lf\n", atan(0.4));

    printf("%lf\n", atan(-0.4));

	return 0;
}




/*
run:

0.380506
-0.380506

*/

 



answered Aug 2, 2022 by avibootz

Related questions

3 answers 321 views
1 answer 259 views
1 answer 211 views
1 answer 162 views
162 views asked Apr 12, 2022 by avibootz
1 answer 272 views
...