Как в с++ записать функцию arctg(x)/x? арктангенс х делить на х
По дате
По рейтингу
<cmath> //C++
или
math.h // C
Это библиотеки. Их надо подключать, чтобы функции работали. Через #include.
atan() -- функция.
/* atan example */
#include <stdio.h> /* printf */
#include <math.h> /* atan */
int main ()
{
double result, x = значение;
result = atan (x) / x;
printf("The arc tangent of %f is %f \n", x, result);
}
atan
<cmath>