当前位置:网站首页>matlab习题 —— 符号运算相关练习
matlab习题 —— 符号运算相关练习
2022-06-28 02:18:00 【繁依Fanyi】
matlab系列文章:目录

一、题目
1. 计算下列极限
- (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. 计算下列导数
- (1) 求 y ′ y^{'} y′, y = ( x + 1 ) arctan x y=(\sqrt{x}+1)\arctan{x} y=(x+1)arctanx
- (2) 求 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) 求 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. 计算下列定积分
- (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. 计算下列级数的和
- (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
二、解答
题一,计算下列极限
①
>> 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
题二,计算下列导数
①
>> 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)
题三,计算下列定积分
①
>> 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
题四,计算下列级数的和
①
>> 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))

边栏推荐
- idea自动生成代码
- Apache——阿帕奇簡介
- 2022 operation of simulated examination platform of special operation certificate examination question bank for safety management personnel of hazardous chemical business units
- 简单ELK配置实现生产级别的日志采集和查询实践
- Apache——阿帕奇简介
- 分布式事务—基于消息补偿的最终一致性方案(本地消息表、消息队列)
- A16z:元宇宙解锁游戏基础设施中的新机遇
- 如何获取GC(垃圾回收器)的STW(暂停)时间?
- 2022 electrician (elementary) recurrent training question bank and online simulation examination
- 在牛客中使用JS编程题【split】
猜你喜欢

项目实战!手把手教你 Jmeter 性能测试

剑指 Offer 53 - I. 在排序数组中查找数字 I(改进二分)

Summary of software testing tools in 2021 - fuzzy testing tools

数字化时代,企业须做好用户信息安全

Flow based depth generation model

【Kotlin】在Android官方文档中对其语法的基本介绍和理解

2022安全员-C证考试题库模拟考试平台操作

collections.defaultdict()的使用

Necessary software tools in embedded software development

【小程序】使用font-awesome字体图标的解决文案(图文)
随机推荐
根据Explain查看sql执行计划,对SQL进行优化
CI & CD 不可不知!
More, faster, better and cheaper. Here comes the fastdeploy beta of the low threshold AI deployment tool!
Is online stock investment exchange group safe? Is it reliable to open an account for free?
[postgraduate] bit by bit
微信小程序中生成二维码
没错,是水的一篇
导入Excel文件,解决跳过空白单元格不读取,并且下标前移的问题,以及RETURN_BLANK_AS_NULL报红
Review the submission of small papers for 2022 spring semester courses
一位博士在华为的22年(干货满满)
被校园暴力,性格内向的马斯克凄惨而励志的童年
买股票应该下载什么软件最好最安全?
嵌入式软件开发中必备软件工具
Object类,以及__new__,__init__,__setattr__,__dict__
[plug in -statistical] statistics the number of code lines and related data
【活动早知道】LiveVideoStack近期活动一览
You got 8K in the 3-year function test, but were overtaken by the new tester. In fact, you are pretending to work hard
Gateway微服务路由使微服务静态资源加载失败
Le routage des microservices de la passerelle a échoué au chargement des ressources statiques des microservices
剑指 Offer 53 - I. 在排序数组中查找数字 I(改进二分)