무제

1715 days 전, gpdnjs0515@naver.com 작성

var('x') f(x)=sec(x) x0=pi/3;y0=f(x0) df(x)=diff(f(x), x) # 미분 print df(x) 
       
sec(x)*tan(x)
sec(x)*tan(x)
m=df(x0) p1=plot(f(x), (x,0, 1.5)) p2=plot(y0+m*(x-x0), (x, 0.4, 1.5), color='red') show(p1+p2)