Juan Reynoso Elias
En 2022-11-18 17:48:38

Mathematics with common lisp

 

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.

The Maxima source code can be compiled on many systems, including Windows, Linux, and MacOS X. The source code for all systems and precompiled binaries for Windows and Linux are available at the SourceForge file manager.


 Solving two examples with Maxima


I need to derivate:         


   sin²(3x)


and I need to solve:


 /

| x + y = 1

| x * y + y²  = 5           

 \


 

Working with maxima:


Maxima 5.46.0 https://maxima.sourceforge.io
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.



(%i1) diff (sin (3*x)^2);


(%o1) 6 cos(3 x) sin(3 x) del(x)



(%i2) solve([x + y = 1, x * y + y^2 = 5], [x,y]);
(%o2)                         [[x = - 4, y = 5]]



http://maxima.sourceforge.net/index.html


#lisp #maxima #emacs
 
step by step
 

También te podría interesar