Mathematica常用指令

2023-01-03 09:15:04 字數 953 閱讀 2255

表示式:

plot[4 x - 9, ]

f[x_] = x^3

plot[f[x], ]

a = plot[4 x - 9, ]

b = plot[x^3, ]

b = plot[x^3, ]

b = plot[x^3, , , , ,, ]

nsolve[7 x + 3 == 2, 30]或n[solve[7 x + 3 == 2], 30]

roots[x^2 + 2 x + 1 == 0, x]或nroots[x^3 + 3 == 0, x] 解一元方程

求解超越方程:

先畫圖確定跟的位置,在用findroot解:

plot[, ]

findroot[sin[x] == x^2 - 1, ]

factor[x^2 + 2 x + 1分解因式

expand[(x^2 + 2 x + 1)( x^2 - 1展開多項式

collect[x^3y^2z^4 + x^4y^5z^2x^2y^3z^2, y按y公升次冪排列

powerexpand[log[x\^y展開或化簡

trigexpand[sin[3 x按三角函式形式展開

微分:limit[(x^5 - 32)/(x^3 - 8), x -> 2求極限

limit[32/x, x -> 0, direction -> 1(-1左(右)極限

f'[x求導

d[f[x], ] /. x -> 2f''[2]

series[exp[x], , y[x], x初始條件

ndsolve[, y[x], x數值解

矩陣:, , } // matrixform生成矩陣

table[x^2, ,,alla矩陣的第2,3,5行

=],,] 隨機產生矩陣元為0~9的4行4列的矩陣

矩陣點乘

cross[z,q矩陣叉乘

常用指令總結

常用bsc命令小結 zeei bts bcf bts號 bcf號 檢視bts bcf的詳細資訊 載頻數 頻點 所在bcsu zeei bcsu 檢視當前bsc最大容納載頻數及各bcsu下所有載頻數 zero bts bts號,trx trx號 檢視bts trx的詳細情況 干擾級別 zefo bcf...

Linux Unix常用指令

10 一些常用的簡單命令 clear 清除螢幕內容 date 顯示日期和時間 cal 顯示日曆 echo 將命令引數進行解釋,並顯示出來 如 echo press enter to continue的命令結果為 press enter to continue echo term的命令結果會顯示現用終...

mysql常用指令

1.匯出整個資料庫 mysqldump u 使用者名稱 p default character set latin1 資料庫名 匯出的檔名 資料庫預設編碼是latin1 mysqldump u wcnc p smgp apps wcnc 2.匯出乙個表 mysqldump u 使用者名稱 p 資料庫...