수학과제-김승엽(3)

1155 days 전, seung7760 작성

var('x') f(x)=4*x^2-2*x+6 x0=pi;y0=0 df(x)=diff(f(x), x) print df(x) m=df(x0) p1=plot(f(x), (x, -50, 50)) p2=plot(y0+m*(x-x0), (x, -50, 50), color='red') show(p1+p2) 
       
8*x - 2
8*x - 2