1、定义一个2阶矩阵:在Mathematica的命令行中,输入A1={{2,3},{5,6}},然后按Enter+Shift
2、求解2阶矩阵的2次幂:在Mathematica的命令行中,输入 MatrixPower[A1, 2],然后按Enter+Shift
3、求解2阶矩阵的9次幂:在Mathematica的命令行中,输入 MatrixPower[A1, 9],然后按Enter+Shift
4、定义一个3阶矩阵:在Mathematica的命令行中,输入A2={{1,2,3},{4,5,6},{-9,-8,-9}},然后按Enter+Shift
5、求解3阶矩阵的3次幂:在Mathematica的命令行中,输入 MatrixPower[A2, 3],然后按Enter+Shift
6、求解3阶矩阵的6次幂:在Mathematica的命令行中,输入 MatrixPower[A2,6],然后按Enter+Shift