Trigonometric Functions in Standard C Library
Question: What are Various Trigonometric Functions in Standard C Library? Answer: Following trigonometric functions are defined in ‘math.h’ header. double sin(double angle); double cos(double angle); double tan(double angle); double asin(double angle); double acos(double angle); double atan(double angle); double atan2(double x, double y); Recall that PI radians equals 180 degrees. Functions ‘sin()’, ‘cos()’ and ‘tan()’ take … Read more