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 143 views
1 answer 172 views
1 answer 114 views
1 answer 83 views
83 views asked Apr 12, 2022 by avibootz
1 answer 180 views
...