TranslateProject/sources/tech/Learn with Linux/Learn with Linux--Master Your Math with These Linux Apps.md
2015-09-26 11:10:27 +08:00

6.7 KiB
Raw Blame History

Translating by KnightJoker

用Linux学习使用这些Linux应用来征服你的数学

这篇文章是用Linux学习系列的一部分:

Linux提供了大量的教育软件和许多优秀的工具来帮助所有年龄段的学生学习和练习各种各样的话题,常常以交互的方式。与Linux一起学习这一系列的文章则为这些各种各样的教育软件和应用提供了一个介绍。

数学是计算机的核心。如果有人用精益求精和纪律来预期一个伟大的操作系统比如GNU/ Linux那么这将是数学。如果你在寻求一些数学应用程序那么你将不会感到失望。Linux提供了很多优秀的工具使得数学看起来和你曾经做过的一样令人畏惧但实际上他们会简化你使用它的方式。

Gnuplot

Gnuplot is a command-line scriptable and versatile graphing utility for different platforms. Despite its name, it is not part of the GNU operating system. Although it is not freely licensed, its free-ware (meaning its copyrighted but free to use).

To install gnuplot on an Ubuntu (or derivative) system, type

sudo apt-get install gnuplot gnuplot-x11

into a terminal window. To start the program, type

gnuplot

You will be presented with a simple command line interface

learnmath-gnuplot

into which you can start typing functions directly. The plot command will draw a graph.

Typing, for instance,

plot sin(x)/x

into the gnuplot prompt, will open another window, wherein the graph is presented.

learnmath-gnuplot-plot1

You can also set different attributes of the graphs in-line. For example, specifying “title” will give them just that.

plot sin(x) title 'Sine Function', tan(x) title 'Tangent'

learnmath-gnuplot-plot2

You can give things a bit more depth and draw 3D graphs with the splot command.

splot sin(x*y/20)

learnmath-gnuplot-plot3

The plot window has a few basic configuration options,

learnmath-gnuplot-options

but the true power of gnuplot lies within its command line and scripting capabilities. The extensive full documentation of gnuplot can be found here with a great tutorial for the previous version on the Duke Universitys website.

Maxima

Maxima is a computer algebra system developed from the original sources of Macsyma. According to its SourceForge page,

“Maxima is a system for the manipulation of symbolic and numerical expressions, including differentiation, integration, Taylor series, Laplace transforms, ordinary differential equations, systems of linear equations, polynomials, sets, lists, vectors, matrices and tensors. Maxima yields high precision numerical results by using exact fractions, arbitrary-precision integers and variable-precision floating-point numbers. Maxima can plot functions and data in two and three dimensions.”

You will have binary packages for Maxima in most Ubuntu derivatives as well as the Maxima graphical interface. To install them all, type

sudo apt-get install maxima xmaxima wxmaxima

into a terminal window. Maxima is a command line utility with not much of a UI, but if you start wxmaxima, youll get into a simple, yet powerful GUI.

learnmath-maxima

You can start using this by simply starting to type. (Hint: Enter will add more lines; if you want to evaluate an expression, use “Shift + Enter.”)

Maxima can be used for very simple problems, as it also acts as a calculator,

learnmath-maxima-1and1

and much more complex ones as well.

learnmath-maxima-functions

It uses gnuplot to draw simple

learnmath-maxima-plot

and more elaborate graphs.

learnmath-maxima-plot2

(It needs the gnuplot-x11 package to display them.)

Besides beautifying the expressions, Maxima makes it possible to export them in latex format, or do some operations on the highlighted functions with a right-click context menu,

learnmath-maxima-menu

while its main menus offer an overwhelming amount of functionality. Of course, Maxima is capable of much more than this. It has an extensive documentation available online.

Conclusion

Mathematics is not an easy subject, and the excellent math software on Linux does not make it look easier, yet these applications make using Mathematics much more straightforward and productive. The above two applications are just an introduction to what Linux has to offer. If you are seriously engaged in math and need even more functionality with great documentation, you should check out the Mathbuntu project.


via: https://www.maketecheasier.com/learn-linux-maths/

作者:Attila Orosz 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出