Sine, Inverse Sine(Arcsine) 파이썬으로 계산하고 그리기 사인과 아크사인을 계산하기 위해서는 numpy 모듈이 필요하고 그래프로 그리기 위해서는 matplotlib 모듈이 필요하다. 없다면 "pip install 모듈명" 으로 설치하길 바란다. numpy matplotlib 사인 계산 및 그래프 구현 하기 코드>> import matplotlib.pyplot as plt import numpy as np # x값 설정 x = np.arange(-10,10,0.1); # y값 설정 amplitude = np.sin(x) print("amp: ", amplitude) # 축 이름 설정 plt.xlabel('x axis(radian)') plt.ylabel('y axis') # 그리드 추가..
원문링크 : 사인, 역사인, 코사인,역코사인, 탄젠트, 역탄젠트 파이썬으로 계산하고 그리기 (Sine, Arcsine, Cosine, Arccosine, Tangent, Arctangent)