#include <cmath>
#include
double atan (double x)
Liefert den Arcustangens von x.
x
Rückgabewert: Hauptwert von arctan(x) im Bereich $(- \frac{\pi}{2}, \frac{\pi}{2})$.
acos(), asin(), atan2(), tan().
#include <cmath> #include <iostream> int main() { double x = std::sqrt(3); std::cout << "Arcus tangens von " << x << " = " << std::atan(x) << '\n'; }