当前位置: 首页 > news >正文

WordPress侧栏隐藏seo站长博客

WordPress侧栏隐藏,seo站长博客,佛山新网站建设特色,分宜网站建设【高数:3 无穷小与无穷大】 1 无穷小与无穷大2 极限运算法则3 极限存在原则4 趋于无穷小的比较 参考书籍:毕文斌, 毛悦悦. Python漫游数学王国[M]. 北京:清华大学出版社,2022. 1 无穷小与无穷大 无穷大在sympy中用两个字母o表示无…

【高数:3 无穷小与无穷大】

  • 1 无穷小与无穷大
  • 2 极限运算法则
  • 3 极限存在原则
  • 4 趋于无穷小的比较

参考书籍:毕文斌, 毛悦悦. Python漫游数学王国[M]. 北京:清华大学出版社,2022.

1 无穷小与无穷大

无穷大在sympy中用两个字母o表示无穷大,正无穷大为sy.oo,负无穷大为-sy.oo

import sympy as sy
x=sy.oo
print(1/x)
>>>0

lim ⁡ x → 0 − 1 x \lim_{x \to 0^-} \frac{1}{x} limx0x1

x=sy.symbols('x')
print(sy.limit(1/x,x,0,dir='-'))
>>>-oo

2 极限运算法则

lim ⁡ x → 3 x − 3 x 2 − 9 \lim_{x \to 3} \frac{x-3}{x^2-9} limx3x29x3

import sympy as sy
x=sy.symbols('x')
print(sy.limit((x-3)/(x**2-9),x,3,dir='+-'))

lim ⁡ x → 1 2 x − 3 x 2 − 5 x + 4 \lim_{x \to 1} \frac{2x-3}{x^2-5x+4} limx1x25x+42x3

x=sy.symbols('x')
print(sy.limit((2*x-3)/(x**2-5*x+4),x,1,dir='-'))
print(sy.limit((2*x-3)/(x**2-5*x+4),x,1))
>>>-oo, oo 故趋于无穷时极限为无穷oo

lim ⁡ x → ∞ 3 x 3 + 4 X 2 + 2 7 x 3 + 5 x 2 − 3 \lim_{x \to \infty} \frac{3x^3+4X^2+2}{7x^3+5x^2-3} limx7x3+5x233x3+4X2+2

x=sy.symbols('x')
print(sy.limit((3*x**3+4*x**2+2)/(7*x**3+5*x**2-3),x,sy.oo,dir='-'))
print(sy.limit((3*x**3+4*x**2+2)/(7*x**3+5*x**2-3),x,-sy.oo,dir='+'))
>>>3/7,3/7 故趋于无穷时极限为3/7

当分子分母极限都不存在时, lim ⁡ x → ∞ sin ⁡ x x \lim_{x \to \infty} \frac{\sin x}{x} limxxsinx

x=sy.symbols('x')
y=sy.sin(x)/x
print(sy.limit(y,x,sy.oo,dir='+'))
print(sy.limit(y,x,-sy.oo,dir='+'))
>>>0 , 0 故趋于无穷时极限为0

3 极限存在原则

eg1: lim ⁡ x → 0 sin ⁡ x x \lim_{x \to 0} \frac{\sin x}{x} limx0xsinx

import sympy as sy
x=sy.symbols('x')
lim=sy.limit(sy.sin(x)/x,x,0,dir='+-')
print(lim)
>>>1

eg2: lim ⁡ x → 0 arcsin ⁡ x tan ⁡ x \lim_{x \to 0} \frac{\arcsin x}{\tan x} limx0tanxarcsinx

x=sy.symbols('x')
print(sy.limit(sy.asin(x)/sy.tan(x),x,0,dir='+-'))  #sy.asin()指arcsin函数
>>>1

eg3: lim ⁡ x → 0 1 − cos ⁡ x x 2 \lim_{x \to 0} \frac{1- \cos x}{x^2} limx0x21cosx

x=sy.symbols('x')
print(sy.limit((1-sy.cos(x))/(x**2),x,0,dir='+-'))
>>>1/2

eg4: lim ⁡ x → 0 ( 1 + x ) 1 x \lim_{x \to 0} (1+x)^{\frac{1}{x}} limx0(1+x)x1

x=sy.symbols('x')
lim=sy.limit((1+x)**(1/x),x,0,dir='+-')
print(lim)
>>>E

eg5: lim ⁡ x → ∞ ( 1 + 1 x ) x \lim_{x \to \infty} (1+\frac{1}{x})^x limx(1+x1)x

x=sy.symbols('x')
lim=sy.limit((1+1/x)**x,x,sy.oo,dir='-')
print(lim)
print(lim.round(3))
print(sy.limit((1+1/x)**x,x,-sy.oo))
>>>E, 2.718, E

eg6: 说明数列 2 , 2 + 2 , 2 + 2 + 2 \sqrt{2} , \sqrt{2+\sqrt{2}},\sqrt{2+\sqrt{2+\sqrt{2}}} 2 ,2+2 ,2+2+2 ,···的极限存在

#用函数的递归机制定义数列
def a_complex_series(n):#退出条件if n<=0:return 2**0.5#一个函数如果调用自身,则这个函数就是一个递归函数return (2.0+a_complex_series(n-1))**0.5
#绘制前20个数的散点图
import matplotlib.pyplot as plt
import numpy as np
x=[]
y=[]
for i in range(20):x.append(i)y.append(a_complex_series(i))
print(np.array(y))
plt.scatter(x,y)
plt.show()
>>>[1.41421356 1.84775907 1.96157056 1.99036945 1.99759091 1.99939764
1.9998494  1.99996235 1.99999059 1.99999765 1.99999941 1.999999851.99999996 1.99999999 2.         2.         2.         2.
2.         2.        ]

在这里插入图片描述
故极限为2

4 趋于无穷小的比较

eg1: lim ⁡ x → 0 tan ⁡ 2 x sin ⁡ 5 x \lim_{x \to 0} \frac{\tan 2x}{\sin 5x} limx0sin5xtan2x

from sympy import limit,sin,cos,tan,symbols #从sympy中仅导入这几个函数
x=symbols('x')
example_1=tan(2*x)/sin(5*x)
result=limit(example_1,x,0,dir='+-')
print(result)
>>>2/5

eg2: lim ⁡ x → 0 sin ⁡ x x 3 + 3 x \lim_{x \to 0} \frac{\sin x}{x^3+3x} limx0x3+3xsinx

x=symbols('x')
example_2=sin(x)/(x**3+3*x)
result=limit(example_2,x,0,dir='+-')
print(result)
>>>1/3

eg3: lim ⁡ x → 0 ( 1 + x 2 ) 1 / 3 − 1 cos ⁡ x − 1 \lim_{x \to 0} \frac{(1+x^2)^{1/3}-1}{\cos x-1} limx0cosx1(1+x2)1/31

x=symbols('x')
example_3=((1+x**2)**(1/3)-1)/(cos(x)-1)
result=limit(example_3,x,0,dir='+-')
print(result)
>>>-2/3
http://www.hkea.cn/news/276493/

相关文章:

  • 长春网站开发培训价格google play三件套
  • 做生存分析的网站有哪些国外新闻最新消息
  • 济南网站优化收费百度互联网营销
  • bootstrap响应网站模板下载发帖推广百度首页
  • 动态网站上的查询怎么做新媒体运营培训学校
  • 网站开发人员必备技能百度优化推广
  • 花都 网站建设百度推广怎么添加关键词
  • 开发公司成本部职责岗位职责和流程苏州网站建设优化
  • 湛江网站制作系统seo排名需要多少钱
  • 城乡现代社区建设seo关键词推广案例
  • 旅游网站开发外文文献关键洞察力
  • 大学生asp网站开发的实训周长沙百度快速优化
  • 黑龙江省建设网站百度投流运营
  • 网站关键词太多好不好兰州seo整站优化服务商
  • 义乌网站设计网店推广策划方案
  • 无锡网站优化工作室网站关键词排名优化推广软件
  • 长沙做网站的公司亚马逊seo什么意思
  • 仪征建设银行官方网站怎么优化一个网站
  • 那个网站可以查询美做空基金宁波网站推广平台效果好
  • 杨凌企业网站建设天津seo优化
  • 建设网站的工具免费b站在线观看人数在哪儿
  • 毕业设计餐饮网站建设国内前10电商代运营公司
  • 日本b2b网站市场调研的步骤
  • 强企网做网站网店推广有哪些
  • 博物馆网站建设策划书公司如何在百度宣传
  • 做cpa广告网站教程百度sem推广具体做什么
  • 免费网站建站WWW222国际军事最新消息今天
  • 做网站软件miscrosoft云服务器
  • 如何做盗版小说网站最经典的营销案例
  • 设计类的网站和简介关键词优化推广排名多少钱