新聞中心

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

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

        作者: 時間:2011-11-02 來源:網絡 收藏
        ="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 14px; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 20px; COLOR: rgb(0,0,0); TEXT-INDENT: 2em; LINE-HEIGHT: 24px; PADDING-TOP: 0px">Out[1]:=Mathematica入門教程之Mathematica的基本語法特征

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

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

        2.定積分

        計算定積分的命令和計算不定積分是同一個Integrate函數,在計算定積分時,除了要給出變量外還要給出積分的上下限。當定積分算不出準確結果時,用N[%]命令總能得到其數值解.Nintegrate也是計算定積分的函數,其使用方法和形式和Integrate函數相同.用Integrate函數計算定積分得到的是準確解,Nintegrate函數計算定積分得到的是近似數值解.計算多重積分時,第一個自變量相應于最外層積分放在最后計算.

        Integrate[f,{x,a,b}] 計算定積分Mathematica入門教程之Mathematica的基本語法特征

        NIntegrate[f,{x,a,b}] 計算定積分Mathematica入門教程之Mathematica的基本語法特征

        Integrate[f,{x,a,b},{y,c,d}] 計算定積分Mathematica入門教程之Mathematica的基本語法特征

        NIntegrate[f,{x,a,b},{y,c,d}] 計算定積分Mathematica入門教程之Mathematica的基本語法特征

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

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

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

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

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

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

        . 冪級數

        冪級數展開函數Series的一般形式:

        Series[expr,{x,x0,n}] 將expr在x=x0點展開到n階的級數

        Series[expr,{x,x0,n},{y,y0,m}] 先對y展開到m階再對x展開n階冪級數

        用Series展開后,展開項中含有截斷誤差Mathematica入門教程之Mathematica的基本語法特征

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

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

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



        關鍵詞: Mathematica 入門教程 Mathematica

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 平安县| 化州市| 吴旗县| 固阳县| 泗水县| 上林县| 商水县| 疏附县| 水城县| 福清市| 桓台县| 民丰县| 泸水县| 邻水| 芜湖县| 昭苏县| 杭州市| 馆陶县| 民权县| 观塘区| 芜湖县| 岳阳县| 杭锦后旗| 连州市| 陕西省| 文安县| 海门市| 克山县| 桓台县| 柘城县| 祁阳县| 兴山县| 封开县| 沂源县| 九江市| 山西省| 三都| 城口县| 东山县| 永清县| 铜川市|