2020年5月5日火曜日

学習環境

微分積分学 (ちくま学芸文庫) (吉田 洋一(著)、筑摩書房)のⅣ.(積分法)、13.(有界変動の関数)、問1.の解答を求めてみる。


  1. a=x0<<xn=b

    なる任意の分割を考える。

    c が分点に存在する場合。

    tfx0,,xn=tfa,,c+tfc,,bTfa,c+Tfc,b

    c が分点に存在しない場合。

    xi<c<xi+1

    とするし、

    a=x0<<xi<c<xi+1<<xn=b

    という分割を考えれば、 上記と同様に、

    tfx0,,xi,xi+1,,xntfa,,xi,c,xi+1,,b=tfa,,c+tfc,,bTfa,c+Tfc,b

    よって、

    Tfa,bTfa,c+Tfc,b

    また、

    a=x0<<xk=cc=xk<<xn=b

    という任意の分割に対して、

    tfa,,c+tfc,,b=tfa,·,c,,bTfa,b

    よって、

    Tfa,c+Tfc,bTfa,b

    ゆえに、

    Tfa,c+Tfc,b=Tfa,b

コード

#!/usr/bin/env python3
from sympy import symbols, cos, pi
from sympy.plotting import plot_parametric

print('1.')

t = symbols('t')
f = t
g = t * cos(pi / t)
p = plot_parametric(f, g,
                    (t, 0.00001, 1),
                    xlim=(0, 2),
                    ylim=(-1, 1),
                    show=False)
p.show()
p.save(f'sample1.png')

入出力結果(Zsh、PowerShell、Terminal、Jupyter(IPython))

% ./sample1.py
1.
%

0 コメント:

コメントを投稿