For the complete documentation index, see llms.txt. This page is also available as Markdown.

19.7 Scientific Research and Professional Computing

Scientific research tools that can run on FreeBSD include mathematics (GeoGebra), astronomy (Stellarium), and others. This section lists the installation methods and basic purposes of each software by category.

Algebra

The FreeBSD base system includes two calculator tools: bc uses infix notation, and dc uses postfix notation (Reverse Polish Notation).

dc is an open-source arbitrary-precision calculator using postfix notation. In traditional Unix systems, bc was implemented as a preprocessor for dc — first converting infix expressions to postfix expressions, then passing them to dc for computation.

Its source code is located in the FreeBSD official source code repository at https://github.com/freebsd/freebsd-src/tree/main/contrib/bc, available for study and learning. Users can view the manual pages using the man bc or man dc commands for more usage details.

bc (Basic Calculator)

bc is an interactive arbitrary-precision calculator using infix notation, supporting basic arithmetic operations and function calculations.

$ bc # Enter the bc calculator
1+15 # Addition
16
sqrt(256) # Square root
16
5^3	 # Cube
125
90/3 # Division
30
10%4 # Modulo
2
quit # Exit the program

Geometry

Geometry Drawing Software GeoGebra

GeoGebra is dynamic geometry software that supports visualization and computation in geometry, algebra, and calculus.

Install using pkg:

Or install using Ports:

GeoGebra interface

Linear Programming

This section covers the usage of the linear programming software GLPK. Linear programming is an important branch of operations research, widely applied in resource optimization, production planning, and financial risk management.

GLPK

GLPK (GNU Linear Programming Kit) is an open-source linear programming toolkit developed by the GNU Project.

Install GLPK using pkg:

Or install GLPK using Ports:

Linear programming commonly uses the simplex method. On computers, various software can assist in solving linear programming problems, such as Microsoft Excel's Solver feature.

Computer Algebra System wxMaxima

wxMaxima is a graphical user interface for the Maxima computer algebra system, providing an intuitive interactive environment and powerful mathematical computation capabilities.

Install using pkg:

Or install using Ports:

wxMaxima supports not only numerical computation but also symbolic computation and formula derivation. The code examples are for reference only; for details, see the official documentation.

Physics and Chemistry

Periodic Table GPeriodic

GPeriodic is a periodic table viewer that provides basic information and physical-chemical properties of elements.

Install using pkg:

Or install using Ports:

GPeriodic periodic table

Astronomy and Geography

Star Chart Software Stellarium

Stellarium is an open-source planetarium software that simulates realistic starry sky observations.

Install using pkg:

Or install using Ports:

Stellarium interface
Stellarium star chart

Tip

It enters full-screen mode by default; press F11 to toggle full-screen mode.

GNOME Maps

GNOME Maps is a map viewer that provides map browsing and location search functionality.

Install using pkg:

Or install using Ports:

GNOME Maps

The map data is based on OpenStreetMap and is relatively up-to-date, but lacks detailed point-of-interest information and navigation features, making it less detailed than commercial map services.

Tools and Software

Scientific Computing Software GNU Octave

GNU Octave is an open-source scientific computing software compatible with the MATLAB language, used for numerical computation and data visualization.

Install using pkg:

Or install using Ports:

References

Last updated