このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
coshint
双曲線余弦積分関数
説明
例
数値引数およびシンボリック引数に対する双曲線余弦積分関数
引数に応じて、coshint
は浮動小数点解またはシンボリック厳密解の結果を返します。
次の数値について双曲線余弦積分関数を計算します。これらの数値はシンボリック オブジェクトではないため、coshint
は浮動小数点の結果を返します。
A = coshint([-1, 0, 1/2, 1, pi/2, pi])
A = 0.8379 + 3.1416i -Inf + 0.0000i -0.0528 + 0.0000i 0.8379... + 0.0000i 1.7127 + 0.0000i 5.4587 + 0.0000i
シンボリック オブジェクトに変換された数値に対する双曲線余弦積分関数を計算します。ほとんどのシンボリックな (厳密な) 数値に対して、coshint
は未解決のシンボリックな呼び出しを返します。
symA = coshint(sym([-1, 0, 1/2, 1, pi/2, pi]))
symA = [ coshint(1) + pi*1i, -Inf, coshint(1/2), coshint(1), coshint(pi/2), coshint(pi)]
vpa
を使用し、これらの解を浮動小数点数で近似します。
vpa(symA)
ans = [ 0.83786694098020824089467857943576... + 3.1415926535897932384626433832795i,... -Inf,... -0.052776844956493615913136063326141,... 0.83786694098020824089467857943576,... 1.7126607364844281079951569897796,... 5.4587340442160681980014878977798]
双曲線余弦積分関数のプロット
双曲線余弦積分関数を 0 から 2*pi
までの範囲でプロットします。
syms x fplot(coshint(x),[0 2*pi]) grid on
双曲線余弦積分関数を含む式の処理
diff
や int
など、多くの関数は coshint
を含む式を処理することができます。
双曲線余弦積分関数の 1 次および 2 次導関数を求めます。
syms x diff(coshint(x), x) diff(coshint(x), x, x)
ans = cosh(x)/x ans = sinh(x)/x - cosh(x)/x^2
双曲線余弦積分関数の不定積分を求めます。
int(coshint(x), x)
ans = x*coshint(x) - sinh(x)
入力引数
詳細
参照
[1] Cautschi, W. and W. F. Cahill. “Exponential Integral and Related Functions.” Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. (M. Abramowitz and I. A. Stegun, eds.). New York: Dover, 1972.
バージョン履歴
R2014a で導入