学習環境
- Surface 3 (4G LTE)、Surface 3 タイプ カバー、Surface ペン(端末)
- Windows 10 Pro (OS)
- 数式入力ソフト(TeX, MathML): MathType
- MathML対応ブラウザ: Firefox、Safari
- MathML非対応ブラウザ(Internet Explorer, Google Chrome...)用JavaScript Library: MathJax
- 参考書籍
解析入門 原書第3版 (S.ラング(著)、松坂 和夫(翻訳)、片山 孝次(翻訳)、岩波書店)の第2部(微分と基本的な関数)、第6章(曲線をえがくこと)、2(曲線をえがくこと)、練習問題46、47、48、49、50.を取り組んでみる。
-
-
増加する範囲。
-
減少する範囲。
-
極大点。
-
極小点。
-
-
-
増加する範囲。
-
減少する範囲。
-
極大点。
-
極小点。
-
-
-
増加する範囲。
-
減少する範囲。
-
極大点。
-
極小点。
-
-
-
増加する範囲。
-
減少する範囲。
-
極大点。
-
極小点。
-
-
-
増加する範囲。
-
減少する範囲。
-
極大点。
-
極小点。
-
コード(Emacs)
Python 3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from sympy import pprint, symbols, solve, Derivative, Limit, S, plot, sqrt, sin, cos, Rational
x = symbols('x')
fs = [x + 2 * cos(x / 2),
sin(x) + sin(x) * cos(x),
sin(2 * x) - sin(2 * x) * cos(2 * x),
sin(x) - sin(x) ** 3,
cos(x) - cos(x) ** 3]
for i, f in enumerate(fs, 46):
print(f'({i})')
d = Derivative(f, x, 1)
pprint(d)
f1 = d.doit()
pprint(f1)
pprint(solve(f1))
for x0 in [S.Infinity, -S.Infinity]:
l = Limit(f, x, x0)
pprint(l)
pprint(l.doit())
p = plot(f, show=False, legend=True)
p.save(f'sample{i}.svg')
print()
入出力結果(Terminal, IPython)
$ ./sample46.py
(46)
d ⎛ ⎛x⎞⎞
──⎜x + 2⋅cos⎜─⎟⎟
dx⎝ ⎝2⎠⎠
⎛x⎞
- sin⎜─⎟ + 1
⎝2⎠
[π]
⎛ ⎛x⎞⎞
lim ⎜x + 2⋅cos⎜─⎟⎟
x─→∞⎝ ⎝2⎠⎠
∞
⎛ ⎛x⎞⎞
lim ⎜x + 2⋅cos⎜─⎟⎟
x─→-∞⎝ ⎝2⎠⎠
-∞
(47)
d
──(sin(x)⋅cos(x) + sin(x))
dx
2 2
- sin (x) + cos (x) + cos(x)
⎡-π π⎤
⎢───, ─⎥
⎣ 3 3⎦
lim (sin(x)⋅cos(x) + sin(x))
x─→∞
<-2, 2>
lim (sin(x)⋅cos(x) + sin(x))
x─→-∞
<-2, 2>
(48)
d
──(-sin(2⋅x)⋅cos(2⋅x) + sin(2⋅x))
dx
2 2
2⋅sin (2⋅x) - 2⋅cos (2⋅x) + 2⋅cos(2⋅x)
⎡ -π π⎤
⎢0, ───, ─⎥
⎣ 3 3⎦
lim (-sin(2⋅x)⋅cos(2⋅x) + sin(2⋅x))
x─→∞
<-2, 2>
lim (-sin(2⋅x)⋅cos(2⋅x) + sin(2⋅x))
x─→-∞
<-2, 2>
(49)
d ⎛ 3 ⎞
──⎝- sin (x) + sin(x)⎠
dx
2
- 3⋅sin (x)⋅cos(x) + cos(x)
⎡-π π ⎛ ___________⎞ ⎛ ___________⎞ ⎛ __________⎞
⎢───, ─, -2⋅atan⎝╲╱ -2⋅√6 + 5 ⎠, 2⋅atan⎝╲╱ -2⋅√6 + 5 ⎠, -2⋅atan⎝╲╱ 2⋅√6 + 5 ⎠,
⎣ 2 2
⎛ __________⎞⎤
2⋅atan⎝╲╱ 2⋅√6 + 5 ⎠⎥
⎦
⎛ 3 ⎞
lim ⎝- sin (x) + sin(x)⎠
x─→∞
<-2, 2>
⎛ 3 ⎞
lim ⎝- sin (x) + sin(x)⎠
x─→-∞
<-2, 2>
(50)
d ⎛ 3 ⎞
──⎝- cos (x) + cos(x)⎠
dx
2
3⋅sin(x)⋅cos (x) - sin(x)
⎡ ⎛ _________⎞ ⎛ _________⎞ ⎛ ________⎞ ⎛ _
⎣0, -2⋅atan⎝╲╱ -√3 + 2 ⎠, 2⋅atan⎝╲╱ -√3 + 2 ⎠, -2⋅atan⎝╲╱ √3 + 2 ⎠, 2⋅atan⎝╲╱
_______⎞⎤
√3 + 2 ⎠⎦
⎛ 3 ⎞
lim ⎝- cos (x) + cos(x)⎠
x─→∞
<-2, 2>
⎛ 3 ⎞
lim ⎝- cos (x) + cos(x)⎠
x─→-∞
<-2, 2>
$
0 コメント:
コメントを投稿