見出し画像

高校数学10分プログラミング(数学Ⅰ編 2.図形と計量)3日目「三角比の拡張を考える」

マガジンリスト > 数学Ⅰ編 2.図形と計量 > 3日目 課題

おはようございます。

本日は、高校数学10分プログラミング(数学I編 2.図形と計量)の3日目です。

本日の課題は、拡張された三角比を確かめるプログラムを作成することです。

$${180^{\circ}-\theta}$$の三角比

$$
\sin ( 180^{\circ} - \theta ) = \sin \theta
$$

$$
\cos ( 180^{\circ} - \theta ) = - \cos \theta
$$

$$
\tan ( 180^{\circ} - \theta ) = - \tan \theta
$$

$${90^{\circ}+\theta}$$の三角比

$$
\sin ( 90^{\circ}+\theta ) = \cos \theta
$$

$$
\cos ( 90^{\circ}+\theta ) = -\sin \theta
$$

$$
\tan ( 90^{\circ}+\theta ) = - \frac{1}{\tan \theta}
$$

課題

$${\theta = 34^{\circ}}$$として、上記6つの拡張された三角比の式の左辺と右辺との値をそれぞれ求めて、コンソールに出力するプログラムを作成してください。左辺と右辺との値が一致していれば、これらの関係式が成り立っているだろうことがわかります。


それでは、よろしくお願いします。

MK's papa

この記事が気に入ったらサポートをしてみませんか?