수학과제-김승엽(4)

1157 days 전, seung7760 작성

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