学習環境
- Surface 3 (4G LTE)、Surface 3 タイプ カバー、Surface ペン(端末)
- Windows 10 Pro (OS)
- 数式入力ソフト(TeX, MathML): MathType
- MathML対応ブラウザ: Firefox、Safari
- MathML非対応ブラウザ(Internet Explorer, Microsoft Edge, Google Chrome...)用JavaScript Library: MathJax
- 参考書籍
解析入門 原書第3版 (S.ラング(著)、松坂 和夫(翻訳)、片山 孝次(翻訳)、岩波書店)の第2部(微分と基本的な関数)、第7章(逆関数)、4(逆正接関数)、練習問題29.を取り組んでみる。
時間をt秒、ヘリコプターの地上の高さをxメートルとする。
コード(Emacs)
Python 3
#!/usr/bin/env python3
from sympy import pprint, symbols, atan, Derivative
print('29.')
t, x = symbols('t x')
Θ = atan(x / 250)
Dx = Derivative(Θ, x, 1)
Dt = Dx * 5
for t in [Dt, Dt.doit(), Dt.doit().subs({x:200})]:
pprint(t)
print()
入出力結果(Terminal, Jupyter(IPython))
$ ./sample29.py
29.
d ⎛ ⎛ x ⎞⎞
5⋅──⎜atan⎜───⎟⎟
dx⎝ ⎝250⎠⎠
1
──────────────
⎛ 2 ⎞
⎜ x ⎟
50⋅⎜───── + 1⎟
⎝62500 ⎠
1/82
$
0 コメント:
コメントを投稿