SlideShare a Scribd company logo
第1章 用 MATLAB 求极限
  数学中的计算问题在实际求解时由于需要很多技巧,或算式繁复,故大多费时耗力甚
至难以解决。而借助计算机上的数学软件,如 MATLAB,mathematica,maple 等,可以很方
便的完成这些工作,本教材将以 MATLAB 为工具软件,介绍用计算机处理数学问题的基本
方法。
  使用 MATLAB 符号运算工具箱中的 limit 命令可直接求取函数的极限
                    x u
例 1.4.1 求 lim (1+     )
          u→∞       u
    解 syms x u ↙
     limit((1+x/u)^ u,u,inf) ↙
       ans=
       exp(x)
即此极限为 e x
注意,本教材中用粗体字表示在计算机上键入的内容和显示器上显示的内容, “
↙”代表“Enter”键。
例 1.4.2 求
解 syms x ↙
 linit((sqrt(1+x)-1)/x) ↙
   ans=
   1/2
                        1
例 1.4.3 考察极限 lim 及其单侧极限的情况。
                    x→0 x

解 syms x ↙
    limit(1/x) ↙
    ans=
      NaN
                  1+ x −1
计算结果为 lim                 不存在,考察器其单侧极限
             x→0      x
    limit(1/x,x,0,’left’) ↙
    ans=
       − inf
    Limit(1/x,x,0,’right’) ↙
    ans=
      inf
    知其左极限为 −∞ ,右极限为 ∞

More Related Content

What's hot

Two port networks
Two port networksTwo port networks
Two port networks
Mohammed Waris Senan
 
A Simple Communication System Design Lab #1 with MATLAB Simulink
A Simple Communication System Design Lab #1 with MATLAB Simulink A Simple Communication System Design Lab #1 with MATLAB Simulink
A Simple Communication System Design Lab #1 with MATLAB Simulink
Jaewook. Kang
 
electromagnetic wave equation
electromagnetic wave equationelectromagnetic wave equation
electromagnetic wave equation
PanbarasiSivamayam
 
Modern digital and analog communication syatems by b.p lathi solution mannual...
Modern digital and analog communication syatems by b.p lathi solution mannual...Modern digital and analog communication syatems by b.p lathi solution mannual...
Modern digital and analog communication syatems by b.p lathi solution mannual...
Naqash Rasheed
 
Chapter 4 bj ts dc biasing
Chapter 4 bj ts dc biasingChapter 4 bj ts dc biasing
Chapter 4 bj ts dc biasing
Amirul Faiz Amil Azman
 
Thermal runaway
Thermal runawayThermal runaway
Thermal runaway
EzazAhmed20
 
Review
ReviewReview
Review
Sharah Davis
 
IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)
Claudia Sin
 
1 100 transistorcircuits
1 100 transistorcircuits1 100 transistorcircuits
1 100 transistorcircuits
Alejandro Perez
 
Working of capacitive SAR ADC
Working of capacitive SAR ADCWorking of capacitive SAR ADC
Working of capacitive SAR ADC
santoshnimbal
 
Hybrid model analog electronics
Hybrid model analog electronicsHybrid model analog electronics
Hybrid model analog electronics
rakesh mandiya
 
ce~cb cascode amplifier
ce~cb cascode amplifierce~cb cascode amplifier
ce~cb cascode amplifier
mrinal mahato
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
DJNila
 
K32 Controller
K32 ControllerK32 Controller
K32 Controller
Joseph
 
Clippers and clampers
Clippers and clampersClippers and clampers
Clippers and clampers
taranjeet10
 
Mosfet baising
Mosfet baisingMosfet baising
Mosfet baising
PRAVEENA N G
 
Ee6378 bandgap reference
Ee6378 bandgap referenceEe6378 bandgap reference
Ee6378 bandgap reference
ssuser2038c9
 
Dsp ppt
Dsp pptDsp ppt
Dsp ppt
Sushant Burde
 
Dsp U Lec06 The Z Transform And Its Application
Dsp U   Lec06 The Z Transform And Its ApplicationDsp U   Lec06 The Z Transform And Its Application
Dsp U Lec06 The Z Transform And Its Application
taha25
 
Power divider, combiner and coupler.ppt
Power divider, combiner and coupler.pptPower divider, combiner and coupler.ppt
Power divider, combiner and coupler.ppt
DeqAhmed2
 

What's hot (20)

Two port networks
Two port networksTwo port networks
Two port networks
 
A Simple Communication System Design Lab #1 with MATLAB Simulink
A Simple Communication System Design Lab #1 with MATLAB Simulink A Simple Communication System Design Lab #1 with MATLAB Simulink
A Simple Communication System Design Lab #1 with MATLAB Simulink
 
electromagnetic wave equation
electromagnetic wave equationelectromagnetic wave equation
electromagnetic wave equation
 
Modern digital and analog communication syatems by b.p lathi solution mannual...
Modern digital and analog communication syatems by b.p lathi solution mannual...Modern digital and analog communication syatems by b.p lathi solution mannual...
Modern digital and analog communication syatems by b.p lathi solution mannual...
 
Chapter 4 bj ts dc biasing
Chapter 4 bj ts dc biasingChapter 4 bj ts dc biasing
Chapter 4 bj ts dc biasing
 
Thermal runaway
Thermal runawayThermal runaway
Thermal runaway
 
Review
ReviewReview
Review
 
IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)
 
1 100 transistorcircuits
1 100 transistorcircuits1 100 transistorcircuits
1 100 transistorcircuits
 
Working of capacitive SAR ADC
Working of capacitive SAR ADCWorking of capacitive SAR ADC
Working of capacitive SAR ADC
 
Hybrid model analog electronics
Hybrid model analog electronicsHybrid model analog electronics
Hybrid model analog electronics
 
ce~cb cascode amplifier
ce~cb cascode amplifierce~cb cascode amplifier
ce~cb cascode amplifier
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
K32 Controller
K32 ControllerK32 Controller
K32 Controller
 
Clippers and clampers
Clippers and clampersClippers and clampers
Clippers and clampers
 
Mosfet baising
Mosfet baisingMosfet baising
Mosfet baising
 
Ee6378 bandgap reference
Ee6378 bandgap referenceEe6378 bandgap reference
Ee6378 bandgap reference
 
Dsp ppt
Dsp pptDsp ppt
Dsp ppt
 
Dsp U Lec06 The Z Transform And Its Application
Dsp U   Lec06 The Z Transform And Its ApplicationDsp U   Lec06 The Z Transform And Its Application
Dsp U Lec06 The Z Transform And Its Application
 
Power divider, combiner and coupler.ppt
Power divider, combiner and coupler.pptPower divider, combiner and coupler.ppt
Power divider, combiner and coupler.ppt
 

More from Xin Zheng

Humidity and temperature
Humidity and temperatureHumidity and temperature
Humidity and temperature
Xin Zheng
 
Humidity and temperature
Humidity and temperatureHumidity and temperature
Humidity and temperature
Xin Zheng
 
Release coats presentation-pstc
Release coats presentation-pstcRelease coats presentation-pstc
Release coats presentation-pstc
Xin Zheng
 
Release coating special additive product selection guide
Release coating special additive product selection guideRelease coating special additive product selection guide
Release coating special additive product selection guide
Xin Zheng
 
12.第十二章用Matlab计算第二类积分
12.第十二章用Matlab计算第二类积分12.第十二章用Matlab计算第二类积分
12.第十二章用Matlab计算第二类积分Xin Zheng
 
11.第十一章用Matlab计算多元函数的积分
11.第十一章用Matlab计算多元函数的积分11.第十一章用Matlab计算多元函数的积分
11.第十一章用Matlab计算多元函数的积分Xin Zheng
 
10.第十章用Matlab画空间曲线
10.第十章用Matlab画空间曲线10.第十章用Matlab画空间曲线
10.第十章用Matlab画空间曲线Xin Zheng
 
09.第九章用Matlab求二元泰勒展开式
09.第九章用Matlab求二元泰勒展开式09.第九章用Matlab求二元泰勒展开式
09.第九章用Matlab求二元泰勒展开式Xin Zheng
 
08.第八章用Matlab求二元泰勒展开式
08.第八章用Matlab求二元泰勒展开式08.第八章用Matlab求二元泰勒展开式
08.第八章用Matlab求二元泰勒展开式Xin Zheng
 
07.第七章用Matlab解常微分方程
07.第七章用Matlab解常微分方程07.第七章用Matlab解常微分方程
07.第七章用Matlab解常微分方程Xin Zheng
 
03.第三章用Matlab求极值
03.第三章用Matlab求极值03.第三章用Matlab求极值
03.第三章用Matlab求极值Xin Zheng
 
06.第六章用Matlab计算二重积分
06.第六章用Matlab计算二重积分06.第六章用Matlab计算二重积分
06.第六章用Matlab计算二重积分Xin Zheng
 
04.第四章用Matlab求偏导数
04.第四章用Matlab求偏导数04.第四章用Matlab求偏导数
04.第四章用Matlab求偏导数Xin Zheng
 
02.第二章用Matlab求导
02.第二章用Matlab求导02.第二章用Matlab求导
02.第二章用Matlab求导Xin Zheng
 
实验十 用Mathematica计算重积分
实验十  用Mathematica计算重积分实验十  用Mathematica计算重积分
实验十 用Mathematica计算重积分Xin Zheng
 
实验一 Mathematica软件简介
实验一   Mathematica软件简介实验一   Mathematica软件简介
实验一 Mathematica软件简介Xin Zheng
 
实验五 用Mathematica软件计算一元函数的积分
实验五  用Mathematica软件计算一元函数的积分实验五  用Mathematica软件计算一元函数的积分
实验五 用Mathematica软件计算一元函数的积分Xin Zheng
 
实验四 用Mathematica软件作导数应用
实验四  用Mathematica软件作导数应用实验四  用Mathematica软件作导数应用
实验四 用Mathematica软件作导数应用Xin Zheng
 
实验六 用Mathematica软件进行 级数运算
实验六  用Mathematica软件进行 级数运算实验六  用Mathematica软件进行 级数运算
实验六 用Mathematica软件进行 级数运算Xin Zheng
 
实验三 用Mathematica软件计算导数与微分
实验三  用Mathematica软件计算导数与微分实验三  用Mathematica软件计算导数与微分
实验三 用Mathematica软件计算导数与微分Xin Zheng
 

More from Xin Zheng (20)

Humidity and temperature
Humidity and temperatureHumidity and temperature
Humidity and temperature
 
Humidity and temperature
Humidity and temperatureHumidity and temperature
Humidity and temperature
 
Release coats presentation-pstc
Release coats presentation-pstcRelease coats presentation-pstc
Release coats presentation-pstc
 
Release coating special additive product selection guide
Release coating special additive product selection guideRelease coating special additive product selection guide
Release coating special additive product selection guide
 
12.第十二章用Matlab计算第二类积分
12.第十二章用Matlab计算第二类积分12.第十二章用Matlab计算第二类积分
12.第十二章用Matlab计算第二类积分
 
11.第十一章用Matlab计算多元函数的积分
11.第十一章用Matlab计算多元函数的积分11.第十一章用Matlab计算多元函数的积分
11.第十一章用Matlab计算多元函数的积分
 
10.第十章用Matlab画空间曲线
10.第十章用Matlab画空间曲线10.第十章用Matlab画空间曲线
10.第十章用Matlab画空间曲线
 
09.第九章用Matlab求二元泰勒展开式
09.第九章用Matlab求二元泰勒展开式09.第九章用Matlab求二元泰勒展开式
09.第九章用Matlab求二元泰勒展开式
 
08.第八章用Matlab求二元泰勒展开式
08.第八章用Matlab求二元泰勒展开式08.第八章用Matlab求二元泰勒展开式
08.第八章用Matlab求二元泰勒展开式
 
07.第七章用Matlab解常微分方程
07.第七章用Matlab解常微分方程07.第七章用Matlab解常微分方程
07.第七章用Matlab解常微分方程
 
03.第三章用Matlab求极值
03.第三章用Matlab求极值03.第三章用Matlab求极值
03.第三章用Matlab求极值
 
06.第六章用Matlab计算二重积分
06.第六章用Matlab计算二重积分06.第六章用Matlab计算二重积分
06.第六章用Matlab计算二重积分
 
04.第四章用Matlab求偏导数
04.第四章用Matlab求偏导数04.第四章用Matlab求偏导数
04.第四章用Matlab求偏导数
 
02.第二章用Matlab求导
02.第二章用Matlab求导02.第二章用Matlab求导
02.第二章用Matlab求导
 
实验十 用Mathematica计算重积分
实验十  用Mathematica计算重积分实验十  用Mathematica计算重积分
实验十 用Mathematica计算重积分
 
实验一 Mathematica软件简介
实验一   Mathematica软件简介实验一   Mathematica软件简介
实验一 Mathematica软件简介
 
实验五 用Mathematica软件计算一元函数的积分
实验五  用Mathematica软件计算一元函数的积分实验五  用Mathematica软件计算一元函数的积分
实验五 用Mathematica软件计算一元函数的积分
 
实验四 用Mathematica软件作导数应用
实验四  用Mathematica软件作导数应用实验四  用Mathematica软件作导数应用
实验四 用Mathematica软件作导数应用
 
实验六 用Mathematica软件进行 级数运算
实验六  用Mathematica软件进行 级数运算实验六  用Mathematica软件进行 级数运算
实验六 用Mathematica软件进行 级数运算
 
实验三 用Mathematica软件计算导数与微分
实验三  用Mathematica软件计算导数与微分实验三  用Mathematica软件计算导数与微分
实验三 用Mathematica软件计算导数与微分
 

01.第一章用Matlab求极限

  • 1. 第1章 用 MATLAB 求极限 数学中的计算问题在实际求解时由于需要很多技巧,或算式繁复,故大多费时耗力甚 至难以解决。而借助计算机上的数学软件,如 MATLAB,mathematica,maple 等,可以很方 便的完成这些工作,本教材将以 MATLAB 为工具软件,介绍用计算机处理数学问题的基本 方法。 使用 MATLAB 符号运算工具箱中的 limit 命令可直接求取函数的极限 x u 例 1.4.1 求 lim (1+ ) u→∞ u 解 syms x u ↙ limit((1+x/u)^ u,u,inf) ↙ ans= exp(x) 即此极限为 e x 注意,本教材中用粗体字表示在计算机上键入的内容和显示器上显示的内容, “ ↙”代表“Enter”键。 例 1.4.2 求 解 syms x ↙ linit((sqrt(1+x)-1)/x) ↙ ans= 1/2 1 例 1.4.3 考察极限 lim 及其单侧极限的情况。 x→0 x 解 syms x ↙ limit(1/x) ↙ ans= NaN 1+ x −1 计算结果为 lim 不存在,考察器其单侧极限 x→0 x limit(1/x,x,0,’left’) ↙ ans= − inf Limit(1/x,x,0,’right’) ↙ ans= inf 知其左极限为 −∞ ,右极限为 ∞