English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
تعود الوظيفة asinh() في C ++ قيمة مضادة الزائدة الحقيقية للراديان (مضادة الزائدة الحقيقية).
استخدام الوظيفة asinh()، تستخدم وظيفة asinh() م 参数 واحد، وتعيد مضادة الزائدة الحقيقية للقيمة بالراديان.
تعمل الوظيفة<cmath>محدد في ملف الرأس.
sinh-1 x = asinh(x)
double asinh(double x); float asinh(float x); long double asinh(long double x); double asinh(T x); // للاعداد الصحيح
استخدام الوظيفة asinh()
يمكن أن يكون أي قيمة، حتى السلبية، الإيجابية أو الصفر.
الوظيفة asinh() تعود قيمة مضادة الزائدة الحقيقية للناتج بالراديان.
#include <iostream> #include <cmath> #define PI 3.141592654 using namespace std; int main() { double x = -6.82, result; result = asinh(x); cout << "asinh(x) = " << result << " درجة" << endl; cout << "asinh(x) = " << result*180/PI << " درجة" << endl; return 0; }
عند تشغيل هذا البرنامج، الناتج هو:
asinh(x) = -2.61834 رادین asinh(x) = -150.02 درجة
#include <iostream> #include <cmath> #define PI 3.141592654 using namespace std; int main() { int x = 11; double result; result = asinh(x); cout << "asinh(x) = " << result << " درجة" << endl; cout << "asinh(x) = " << result*180/PI << " درجة" << endl; return 0; }
عند تشغيل هذا البرنامج، الناتج هو:
asinh(x) = 3.0931 درجة asinh(x) = 177.222 درجة