<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 模擬技術(shù) > 設計應用 > Mathematica入門教程之Mathematica的基本語法特征

          Mathematica入門教程之Mathematica的基本語法特征

          作者: 時間:2011-11-02 來源:網(wǎng)絡 收藏
          NG-TOP: 0px">  中還有相當數(shù)量的數(shù)值計算函數(shù),最常用的是N[表達式,整數(shù)]可以求出表達式精確到指定有效數(shù)字的數(shù)值解,還有如數(shù)值求積分的NIntegrate[],求方程數(shù)值根的NSolve[]和NDSolve[],最小、最大值的NFindMinimum[]和NFindMaximum[]等等。  

          還有各種表達式操作的函數(shù),如取分子、分母的 Numerator[expr] , Denormator[expr],取系數(shù)的Coefficient[expr],因式分解的Factor[expr],以及展開的Expand[expr]和ExpandAll[expr],表達式化簡的Simplify[expr]等。expr代表一個任意的表達式。

          . 求極限

          計算函數(shù)極限Mathematica入門教程之Mathematica的基本語法特征的一般形式是:

          Limit[expr,x->x0] x->x0時函數(shù)的極限

          Limit[expr,x->x0,Direction->-1] x->Mathematica入門教程之Mathematica的基本語法特征時函數(shù)的極限

          Limit[expr,x->x0, Direction->1] x->Mathematica入門教程之Mathematica的基本語法特征時函數(shù)的極限

          In[1]:=Mathematica入門教程之Mathematica的基本語法特征

          Out[1]:=1

          . 微商和微分

          中能方便地計算任何函數(shù)表達式的任意階微商(導數(shù)).如果f是一元函數(shù),D[f,x]表示Mathematica入門教程之Mathematica的基本語法特征;如果f是多元函數(shù),D[f,x]表示Mathematica入門教程之Mathematica的基本語法特征.微商函數(shù)的常用形式如下:

          D[f,x]Mathematica入門教程之Mathematica的基本語法特征Mathematica入門教程之Mathematica的基本語法特征

          In[1]:=D[x^x,x]

          Out[1]:=Mathematica入門教程之Mathematica的基本語法特征

          下面列出全微分函數(shù)Dt的常用形式及其意義:

          Dt[f] 全微分

          Dt[f,x] 全導數(shù)

          Dt[f,x1,x2,…] 多重全導數(shù)

          In[1]:=Dt[x^2+y^2]

          Out[1]:=

          . 不定積分和定積分

            • 不定積分

          Integreate函數(shù)主要計算只含有1“簡單函數(shù)”的被積函數(shù). “簡單函數(shù)”包括有理函數(shù)、指數(shù)函數(shù)、對數(shù)函數(shù)和三角函數(shù)與反三角函數(shù)。不定積分一般形式如下:

          Integrate[f,x] 計算不定積分

          Integrate[f,x,y] 計算不定積分

          Integrate[f,x,y,z] 計算不定積分Mathematica入門教程之Mathematica的基本語法特征

          In[1]:=Mathematica入門教程之Mathematica的基本語法特征



          評論


          技術(shù)專區(qū)

          關閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();