This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # コメントはシャープで出来ます。 | |
| import numpy # numpyと言う名前の外部ライブラリ(Pythonではモジュール)をインポート | |
| import matplotlib.pyplot as plt # Matlabライクなグラフを表示するための外部モジュール | |
| x = numpy.arange(0, 2*numpy.pi, 0.001) # xという変数に0から2πまでを格納した配列を生成(刻みは0.001) | |
| y = numpy.sin(x) # 作った配列にsin関数を適用 | |
| plt.plot(x, y) | |
| plt.show() |