当前位置:网站首页>Matlab function for limit, definite integral, first-order derivative, second-order derivative (classic examples)

Matlab function for limit, definite integral, first-order derivative, second-order derivative (classic examples)

2022-06-30 14:53:00 Tongxuan Shangjing programmer

\lim_{x\rightarrow 0}sin(x)/x          \int_{1}^{2}(2*x^4+e^-x)d_{x}           (3)y=x^2+cos(x)*sin(x)

Problem description : Find the values of the first two expressions respectively , Find the second derivative of the third function .

// The first question is 
syms x;  
f=sin(x)/x;  
L=limit(f, x, 0);
L;
// The second question is 
syms x; 
y=2*x^4+exp(-1);  
int(y,x,1,2)
// Third question 
y=x*x+cos(x)*sin(x);
// Type... In the command line window diff(x,y) Find the first derivative ;diff(x,y,2) Find the second derivative .

原网站

版权声明
本文为[Tongxuan Shangjing programmer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202160511254391.html