2장-과제-오태연

1157 days 전, cntjrskf3 작성

var('x') f(x)=sqrt(x) x0=1;y0=f(x0) df(x)=diff(f(x), x) print df(x) m=df(x0) p1=plot(f(x), (x, -1, 2)) p2=plot(y0+m*(x-x0), (x, -1, 2), color='red') show(p1+p2) 
       
1/2/sqrt(x)
verbose 0 (2395: plot.py, generate_plot_points) WARNING: When plotting,
failed to evaluate function at 66 points.
verbose 0 (2395: plot.py, generate_plot_points) Last error message: ''
1/2/sqrt(x)
verbose 0 (2395: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 66 points.
verbose 0 (2395: plot.py, generate_plot_points) Last error message: ''