미분

43 days 전, jhmath14 작성

var('x') f(x) = x^2 + 4*e^x print(diff(f(x), x)) print(diff(diff(f(x), x), x)) print(diff(diff(diff(f(x), x), x), x)) 
       
2*x + 4*e^x
4*e^x + 2
4*e^x
2*x + 4*e^x
4*e^x + 2
4*e^x
var('x') f(x) = x^2 + sqrt(x) df(x) = diff(f(x), x) y(x) = df(4)*(x - 4) + 18 print(y(x)) p1 = plot(f(x), x, 0, 10, linestyle = "--", color = 'blue') p2 = plot(y(x), x, 0, 10, color = 'red') show(p1 + p2) 
       
33/4*x - 15
33/4*x - 15