摘要
在Mathematica 7.0环境下,编写实施矩阵初等行变换、化矩阵为行最简形矩阵、显示增广矩阵、可视化求解线性方程组等函数,其中可视化求解函数提供了两种用法。熟悉Mathematica用法的用户可以输入带参数的求解函数来求解线性方程组;另一种用法是输入不带参数的求解函数,程序将输出交互式可视化的求解界面,在此界面上用户可以方便地输入方程个数、未知量个数以及增广矩阵,点击求解按钮后即可输出线性方程组的求解过程及通解。
Functions of elementary row operation of matrix, row reduced echelon matrix, augmented matrix, and visual solution of system of linear equations, are programmed in Mathematica 7.0 environment. Then two types of usages of the function of visual solution of system of linear equations axe also discussed: users who are familiar with Mathematica 7.0 can input function with parameters to solve the system of linear equations; while any users can conveniently input the number of equations and variables, and augmented matrix after inputting function without parameters, and finally the process and general solution of the system of linear equations are output just by clicking solution button.
出处
《计算机与现代化》
2013年第5期149-154,共6页
Computer and Modernization
基金
山西农业大学科技创新基金资助项目(2010008)
山西省高等学校教学改革项目(J2011022)