当前位置:网站首页>Matlab exercises -- exercises related to symbolic operation
Matlab exercises -- exercises related to symbolic operation
2022-06-28 04:27:00 【Fanyi】
matlab Series articles : Catalog

List of articles
One 、 subject
1. Calculate the following limits
- (1) lim x → 0 1 + x − 1 − x 1 + x 3 − 1 − x 3 \lim\limits_{x \to 0}\frac{\sqrt{1+x}-\sqrt{1-x}}{\sqrt[3]{1+x}-\sqrt[3]{1-x}} x→0lim31+x−31−x1+x−1−x
- (2) lim x → 0 ( 3 x + 2 3 x − 1 ) 2 x − 1 \lim\limits_{x \to 0}(\frac{3x+2}{3x-1})^{2x-1} x→0lim(3x−13x+2)2x−1
- (3) lim x → 0 ( 1 x 2 − 1 sin 2 x ) \lim\limits_{x \to 0}(\frac{1}{x^2}-\frac{1}{\sin^2x}) x→0lim(x21−sin2x1)
- (4) lim x → 0 ( π 2 − arctan x ) 1 ln x \lim\limits_{x \to 0}(\frac{\pi}{2}-\arctan{x})^{\frac{1}{\ln{x}}} x→0lim(2π−arctanx)lnx1
2. Calculate the following derivatives
- (1) seek y ′ y^{'} y′, y = ( x + 1 ) arctan x y=(\sqrt{x}+1)\arctan{x} y=(x+1)arctanx
- (2) seek y ′ ′ y^{''} y′′, y = 1 + x 2 sin x + cos x y=\frac{1+x^2}{\sin{x}+\cos{x}} y=sinx+cosx1+x2
- (3) seek y ′ y^{'} y′, y = x + x + x y=\sqrt{x+\sqrt{x+\sqrt{x}}} y=x+x+x
- (4) { x = a ( cos t + t sin t ) y = a ( sin t − t cos t ) \left\{ \begin{aligned} x&=a(\cos{t}+t\sin{t})\\ y&=a(\sin{t}-t\cos{t}) \end{aligned} \right . { xy=a(cost+tsint)=a(sint−tcost)
3. Calculate the following definite integral
- (1) ∫ 0 π 2 cos x 1 + sin 2 x d x \int_{0}^{\frac{\pi}{2}}\frac{\cos{x}}{1+\sin^2x}dx ∫02π1+sin2xcosxdx
- (2) ∫ 0 a x 2 a − x a + x d x \int_{0}^{a}x^2\sqrt{\frac{a-x}{a+x}}dx ∫0ax2a+xa−xdx
- (3) ∫ 0 1 d x ( x 2 − x + 1 ) 3 2 \int_{0}^{1}\frac{dx}{(x^2-x+1)^{\frac{3}{2}}} ∫01(x2−x+1)23dx
4. Calculate the sum of the following series
- (1) ∑ n = 1 ∞ 1 n 2 \sum_{n=1}^{\infty}{\frac{1}{n^2}} n=1∑∞n21
- (2) ∑ n = 1 ∞ ( − 1 ) n − 1 n \sum_{n=1}^{\infty}{\frac{(-1)^{n-1}}{n}} n=1∑∞n(−1)n−1
- (3) ∑ n = 1 ∞ x 2 n − 1 2 n − 1 \sum_{n=1}^{\infty}{\frac{x^{2n-1}}{2n-1}} n=1∑∞2n−1x2n−1
Two 、 answer
Topic 1 , Calculate the following limits
①
>> syms x
>> y = ((1+x)^(1/2)-(1-x)^(1/2))/((1+x)^(1/3)-(1-x)^(1/3))
y =
((x + 1)^(1/2) - (1 - x)^(1/2))/((x + 1)^(1/3) - (1 - x)^(1/3))
>> limit(y,x,0)
ans =
3/2
②
>> syms x
>> y = ((3*x+2)/(3*x-1))^(2*x-1)
y =
((3*x + 2)/(3*x - 1))^(2*x - 1)
>> limit(y,x,0)
ans =
-1/2
③
>> syms x
>> y = ((1/x^2)-1/(sin(x)^2))
y =
1/x^2 - 1/sin(x)^2
>> limit(y,x,0)
ans =
-1/3
④
>> syms x
>> y = (pi/2 - atan(x))^(1/(log(x)))
y =
(pi/2 - atan(x))^(1/log(x))
>> limit(y,x,0)
ans =
1
Topic two , Calculate the following derivatives
①
>> y = (x^(1/2)+1)*atan(x)
y =
atan(x)*(x^(1/2) + 1)
>> diff(y,x)
ans =
atan(x)/(2*x^(1/2)) + (x^(1/2) + 1)/(x^2 + 1)
②
>> y = (1+x^2)/(sin(x)+cos(x))
y =
(x^2 + 1)/(cos(x) + sin(x))
>> diff(y,x)
ans =
(2*x)/(cos(x) + sin(x)) - ((x^2 + 1)*(cos(x) - sin(x)))/(cos(x) + sin(x))^2
③
>> y = (x+(x+(x)^(1/2))^(1/2))^(1/2)
y =
(x + (x + x^(1/2))^(1/2))^(1/2)
>> diff(y,x)
ans =
((1/(2*x^(1/2)) + 1)/(2*(x + x^(1/2))^(1/2)) + 1)/(2*(x + (x + x^(1/2))^(1/2))^(1/2))
④
>> syms x y t a
>> x = a*(cos(t)+t*sin(t))
x =
a*(cos(t) + t*sin(t))
>> y = a*(sin(t)-t*cos(t))
y =
a*(sin(t) - t*cos(t))
>> dx = diff(x,t)
dx =
a*t*cos(t)
>> dy = diff(y,t)
dy =
a*t*sin(t)
>> dy/dx
ans =
sin(t)/cos(t)
Question three , Calculate the following definite integral
①
>> syms x y
>> y = cos(x)/(1+(sin(x))^2)
y =
cos(x)/(sin(x)^2 + 1)
>> int(y,x,0,pi/2)
ans =
pi/4
②
>> syms x y a
>> y = (x^2)*((a-x)/(a+x))^(1/2)
y =
x^2*((a - x)/(a + x))^(1/2)
>> int(0,a)
ans =
0
>> int(y,x,0,a)
ans =
(a^3*(3*pi - 8))/12
③
>> syms x y a
>> y = 1/((x^2-x+1)^(3/2))
y =
1/(x^2 - x + 1)^(3/2)
>> int(y,x,0,1)
ans =
4/3
Question 4 , Calculate the sum of the following series
①
>> syms x y n
>> y = 1/(n^2)
y =
1/n^2
>> symsum(y,n,1,Inf)
ans =
pi^2/6
②
>> y = (-1)^(n-1)/n
y =
(-1)^(n - 1)/n
>> symsum(y,n,1,Inf)
ans =
log(2)
③
>> y = (x^(2*n-1))/(2*n-1)
y =
x^(2*n - 1)/(2*n - 1)
>> symsum(y,n,1,Inf)
ans =
piecewise(abs(x) < 1, atanh(x))

边栏推荐
- 有人用cdc同步到mysql发生过死锁吗?
- After launching the MES system, these changes have taken place in the enterprise
- 《性能之巅第2版》阅读笔记(二)--CPU监测
- leetcode:714. The best time to buy and sell stocks includes handling fee [DP dual status]
- 易周金融 | Q1手机银行活跃用户规模6.5亿;理财子公司布局新兴领域
- 10:00面试,10:02就出来了 ,问的实在是太...
- Sorting from one stack to another
- 等保2.0密码要求是什么?法律依据有哪些?
- Reverse a stack with recursive functions and stack operations only
- Introversion, lying flat and midlife crisis
猜你喜欢

2022年6月对自己近况的一次总结

《性能之巅第2版》阅读笔记(二)--CPU监测

Digital promising, easy to reach, Huawei accelerates the layout of the commercial market with "five pole" star products

Meichuang data security management platform has obtained the evaluation certificate of "data security product capability verification plan" of the Institute

Multithreading and high concurrency III: AQS underlying source code analysis and implementation classes

Introduction to SQLSERVER database

抖音實戰~關注博主

Recommended by Alibaba P8, Fiddler packet capturing tool (I)

Little knowledge about function templates --

从零到一,教你搭建「以文搜图」搜索服务(一)
随机推荐
揭开SSL的神秘面纱,了解如何用SSL保护数据
Visualization of loss using tensorboard
2022年6月对自己近况的一次总结
Little knowledge about function templates --
Using elk to build a log analysis system (I) -- component introduction
[small program practice series] e-commerce platform source code and function implementation
Annual comprehensive analysis of China's audio market in 2022
From meeting a big guy to becoming a big guy, shengteng AI developer creation day brings infinite possibilities to developers
2022-06-27:给出一个长度为n的01串,现在请你找到两个区间, 使得这两个区间中,1的个数相等,0的个数也相等, 这两个区间可以相交,但是不可以完全重叠,即两个区间的左右端点不可以完全一样。
【Proteus仿真】定时器1外部计数中断
歐洲家具EN 597-1 跟EN 597-2兩個阻燃標准一樣嗎?
互联网的发展促进了无界零售、数字零售、即时零售等一系列新模式的出现
MSc 307 (88) (2010 FTPC code) Part 2 smoke and toxicity test
Pinda general permission system (day 5~day 6)
Conversion between decimal and BCD codes in C language
Short video platform development, click links and pictures to automatically jump to a new page
27 years, Microsoft IE is over!
Excel knowledge and skills summary
易周金融 | Q1手机银行活跃用户规模6.5亿;理财子公司布局新兴领域
公司领导说,个人代码超10个Bug就开除,是什么体验?