#include <iostream> #include <cmath> using namespace std; int main() { double val = 1.0; cout << "値 : " << val << "\n"; double cs = cosh(val), sn = sinh(val), ta = tanh(val); cout << " cosh " << cs << " sinh " << sn << " tanh " << ta << endl; cout << " acosh " << acosh(cs) << " asinh " << asinh(sn) << " atanh " << atanh(ta) << "\n"; return 0; }
値 : 1 cosh 1.54308 sinh 1.1752 tanh 0.761594 acosh 1 asinh 1 atanh 1
菅沼ホーム | 本文目次 | 演習問題解答例 | 付録目次 | 索引 |