How to install Maxima and make syntax on Ubuntu Server 18.04
How to install Maxima computer algebra system, and make a syntax like the screenshot that is shown below? What is a similar application to Maxima that can run from the command-line in Ubuntu Server 18.04?
command-line server 18.04 software-installation syntax
add a comment |
How to install Maxima computer algebra system, and make a syntax like the screenshot that is shown below? What is a similar application to Maxima that can run from the command-line in Ubuntu Server 18.04?
command-line server 18.04 software-installation syntax
add a comment |
How to install Maxima computer algebra system, and make a syntax like the screenshot that is shown below? What is a similar application to Maxima that can run from the command-line in Ubuntu Server 18.04?
command-line server 18.04 software-installation syntax
How to install Maxima computer algebra system, and make a syntax like the screenshot that is shown below? What is a similar application to Maxima that can run from the command-line in Ubuntu Server 18.04?
command-line server 18.04 software-installation syntax
command-line server 18.04 software-installation syntax
edited Jan 24 at 6:24
karel
59.6k13129151
59.6k13129151
asked Jan 24 at 1:54
Johan Kun RiyantoJohan Kun Riyanto
162
162
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Maxima is a version of the MIT-developed MACSYMA system, modified to run under Common Lisp. It is an interactive expert system and programming environment for symbolic and numerical mathematical manipulation. Written in Lisp, it allows differentiation, integration, solution of linear or polynomial equations, factoring of polynomials, expansion of functions in Laurent or Taylor series, computation of Poisson series, matrix and tensor manipulations, and two- and three-dimensional graphics. Procedures may be written using an ALGOL-like syntax, and both Lisp-like functions and pattern matching facilities are provided. Files containing Maxima objects may be read from and written to disk files. Pre-written Maxima commands may be read from a file and executed, allowing batch-mode use.
wxmaxima is a GUI for the Maxima computer algebra system.
To install maxima command-line program in all currently supported versions of Ubuntu, open the terminal and type:
sudo apt install maxima
$ maxima
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License.
(%i1) fpprec:1500000$
(%i2) bfloat(sqrt(2))$
time
(%i3) time(%);
(%o3) [7.1]
(%i4)
Here is the same input solved in wxMaxima GUI application.
The syntax highlighting in the center pane is explained here
Content of the content.xml file which was created by wxMaxima is shown below. This file can be accessed by renaming the saved file from wxMaxima from untitled.wxmx to untitled.zip, and then extracting the content.xml file from the .zip archive.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created by wxMaxima 18.02.0 -->
<!--https://andrejv.github.io/wxmaxima/-->
<wxMaximaDocument version="1.5" zoom="100" activecell="1">
<cell type="code">
<input>
<editor type="input">
<line>fpprec:1500000$</line>
<line>bfloat(sqrt(2))$</line>
<line>time(%);</line>
<line></line>
</editor>
</input>
<output>
<mth><lbl>(%o3) </lbl><t>[</t><n>7.05</n><t>]</t>
</mth></output>
</cell>
</wxMaximaDocument>
@JohanKunRiyanto The input lines in coba.mac are saved by wxMaxima (File -> Save) in a file named content.xml. Each line is enclosed by a pair of XML<line>
and</line>
tags. How to extract the input lines in coba.mac from content.xml and write them somewhere else using a bash script is too broad to include in this question. It should be asked as a separate question instead.
– karel
Jan 31 at 2:31
can it be used for the PHP script to send the maxima script above ?
– Johan Kun Riyanto
Feb 15 at 14:28
Yes, that can be done with a PHP script, but writing the PHP script is out of scope for Ask Ubuntu. If you've got your own PHP code, you can ask for help debugging it at Stack Overflow Q&A, but you have to show your code.
– karel
Feb 15 at 15:11
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112377%2fhow-to-install-maxima-and-make-syntax-on-ubuntu-server-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Maxima is a version of the MIT-developed MACSYMA system, modified to run under Common Lisp. It is an interactive expert system and programming environment for symbolic and numerical mathematical manipulation. Written in Lisp, it allows differentiation, integration, solution of linear or polynomial equations, factoring of polynomials, expansion of functions in Laurent or Taylor series, computation of Poisson series, matrix and tensor manipulations, and two- and three-dimensional graphics. Procedures may be written using an ALGOL-like syntax, and both Lisp-like functions and pattern matching facilities are provided. Files containing Maxima objects may be read from and written to disk files. Pre-written Maxima commands may be read from a file and executed, allowing batch-mode use.
wxmaxima is a GUI for the Maxima computer algebra system.
To install maxima command-line program in all currently supported versions of Ubuntu, open the terminal and type:
sudo apt install maxima
$ maxima
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License.
(%i1) fpprec:1500000$
(%i2) bfloat(sqrt(2))$
time
(%i3) time(%);
(%o3) [7.1]
(%i4)
Here is the same input solved in wxMaxima GUI application.
The syntax highlighting in the center pane is explained here
Content of the content.xml file which was created by wxMaxima is shown below. This file can be accessed by renaming the saved file from wxMaxima from untitled.wxmx to untitled.zip, and then extracting the content.xml file from the .zip archive.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created by wxMaxima 18.02.0 -->
<!--https://andrejv.github.io/wxmaxima/-->
<wxMaximaDocument version="1.5" zoom="100" activecell="1">
<cell type="code">
<input>
<editor type="input">
<line>fpprec:1500000$</line>
<line>bfloat(sqrt(2))$</line>
<line>time(%);</line>
<line></line>
</editor>
</input>
<output>
<mth><lbl>(%o3) </lbl><t>[</t><n>7.05</n><t>]</t>
</mth></output>
</cell>
</wxMaximaDocument>
@JohanKunRiyanto The input lines in coba.mac are saved by wxMaxima (File -> Save) in a file named content.xml. Each line is enclosed by a pair of XML<line>
and</line>
tags. How to extract the input lines in coba.mac from content.xml and write them somewhere else using a bash script is too broad to include in this question. It should be asked as a separate question instead.
– karel
Jan 31 at 2:31
can it be used for the PHP script to send the maxima script above ?
– Johan Kun Riyanto
Feb 15 at 14:28
Yes, that can be done with a PHP script, but writing the PHP script is out of scope for Ask Ubuntu. If you've got your own PHP code, you can ask for help debugging it at Stack Overflow Q&A, but you have to show your code.
– karel
Feb 15 at 15:11
add a comment |
Maxima is a version of the MIT-developed MACSYMA system, modified to run under Common Lisp. It is an interactive expert system and programming environment for symbolic and numerical mathematical manipulation. Written in Lisp, it allows differentiation, integration, solution of linear or polynomial equations, factoring of polynomials, expansion of functions in Laurent or Taylor series, computation of Poisson series, matrix and tensor manipulations, and two- and three-dimensional graphics. Procedures may be written using an ALGOL-like syntax, and both Lisp-like functions and pattern matching facilities are provided. Files containing Maxima objects may be read from and written to disk files. Pre-written Maxima commands may be read from a file and executed, allowing batch-mode use.
wxmaxima is a GUI for the Maxima computer algebra system.
To install maxima command-line program in all currently supported versions of Ubuntu, open the terminal and type:
sudo apt install maxima
$ maxima
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License.
(%i1) fpprec:1500000$
(%i2) bfloat(sqrt(2))$
time
(%i3) time(%);
(%o3) [7.1]
(%i4)
Here is the same input solved in wxMaxima GUI application.
The syntax highlighting in the center pane is explained here
Content of the content.xml file which was created by wxMaxima is shown below. This file can be accessed by renaming the saved file from wxMaxima from untitled.wxmx to untitled.zip, and then extracting the content.xml file from the .zip archive.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created by wxMaxima 18.02.0 -->
<!--https://andrejv.github.io/wxmaxima/-->
<wxMaximaDocument version="1.5" zoom="100" activecell="1">
<cell type="code">
<input>
<editor type="input">
<line>fpprec:1500000$</line>
<line>bfloat(sqrt(2))$</line>
<line>time(%);</line>
<line></line>
</editor>
</input>
<output>
<mth><lbl>(%o3) </lbl><t>[</t><n>7.05</n><t>]</t>
</mth></output>
</cell>
</wxMaximaDocument>
@JohanKunRiyanto The input lines in coba.mac are saved by wxMaxima (File -> Save) in a file named content.xml. Each line is enclosed by a pair of XML<line>
and</line>
tags. How to extract the input lines in coba.mac from content.xml and write them somewhere else using a bash script is too broad to include in this question. It should be asked as a separate question instead.
– karel
Jan 31 at 2:31
can it be used for the PHP script to send the maxima script above ?
– Johan Kun Riyanto
Feb 15 at 14:28
Yes, that can be done with a PHP script, but writing the PHP script is out of scope for Ask Ubuntu. If you've got your own PHP code, you can ask for help debugging it at Stack Overflow Q&A, but you have to show your code.
– karel
Feb 15 at 15:11
add a comment |
Maxima is a version of the MIT-developed MACSYMA system, modified to run under Common Lisp. It is an interactive expert system and programming environment for symbolic and numerical mathematical manipulation. Written in Lisp, it allows differentiation, integration, solution of linear or polynomial equations, factoring of polynomials, expansion of functions in Laurent or Taylor series, computation of Poisson series, matrix and tensor manipulations, and two- and three-dimensional graphics. Procedures may be written using an ALGOL-like syntax, and both Lisp-like functions and pattern matching facilities are provided. Files containing Maxima objects may be read from and written to disk files. Pre-written Maxima commands may be read from a file and executed, allowing batch-mode use.
wxmaxima is a GUI for the Maxima computer algebra system.
To install maxima command-line program in all currently supported versions of Ubuntu, open the terminal and type:
sudo apt install maxima
$ maxima
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License.
(%i1) fpprec:1500000$
(%i2) bfloat(sqrt(2))$
time
(%i3) time(%);
(%o3) [7.1]
(%i4)
Here is the same input solved in wxMaxima GUI application.
The syntax highlighting in the center pane is explained here
Content of the content.xml file which was created by wxMaxima is shown below. This file can be accessed by renaming the saved file from wxMaxima from untitled.wxmx to untitled.zip, and then extracting the content.xml file from the .zip archive.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created by wxMaxima 18.02.0 -->
<!--https://andrejv.github.io/wxmaxima/-->
<wxMaximaDocument version="1.5" zoom="100" activecell="1">
<cell type="code">
<input>
<editor type="input">
<line>fpprec:1500000$</line>
<line>bfloat(sqrt(2))$</line>
<line>time(%);</line>
<line></line>
</editor>
</input>
<output>
<mth><lbl>(%o3) </lbl><t>[</t><n>7.05</n><t>]</t>
</mth></output>
</cell>
</wxMaximaDocument>
Maxima is a version of the MIT-developed MACSYMA system, modified to run under Common Lisp. It is an interactive expert system and programming environment for symbolic and numerical mathematical manipulation. Written in Lisp, it allows differentiation, integration, solution of linear or polynomial equations, factoring of polynomials, expansion of functions in Laurent or Taylor series, computation of Poisson series, matrix and tensor manipulations, and two- and three-dimensional graphics. Procedures may be written using an ALGOL-like syntax, and both Lisp-like functions and pattern matching facilities are provided. Files containing Maxima objects may be read from and written to disk files. Pre-written Maxima commands may be read from a file and executed, allowing batch-mode use.
wxmaxima is a GUI for the Maxima computer algebra system.
To install maxima command-line program in all currently supported versions of Ubuntu, open the terminal and type:
sudo apt install maxima
$ maxima
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License.
(%i1) fpprec:1500000$
(%i2) bfloat(sqrt(2))$
time
(%i3) time(%);
(%o3) [7.1]
(%i4)
Here is the same input solved in wxMaxima GUI application.
The syntax highlighting in the center pane is explained here
Content of the content.xml file which was created by wxMaxima is shown below. This file can be accessed by renaming the saved file from wxMaxima from untitled.wxmx to untitled.zip, and then extracting the content.xml file from the .zip archive.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created by wxMaxima 18.02.0 -->
<!--https://andrejv.github.io/wxmaxima/-->
<wxMaximaDocument version="1.5" zoom="100" activecell="1">
<cell type="code">
<input>
<editor type="input">
<line>fpprec:1500000$</line>
<line>bfloat(sqrt(2))$</line>
<line>time(%);</line>
<line></line>
</editor>
</input>
<output>
<mth><lbl>(%o3) </lbl><t>[</t><n>7.05</n><t>]</t>
</mth></output>
</cell>
</wxMaximaDocument>
edited Jan 24 at 9:41
answered Jan 24 at 5:42
karelkarel
59.6k13129151
59.6k13129151
@JohanKunRiyanto The input lines in coba.mac are saved by wxMaxima (File -> Save) in a file named content.xml. Each line is enclosed by a pair of XML<line>
and</line>
tags. How to extract the input lines in coba.mac from content.xml and write them somewhere else using a bash script is too broad to include in this question. It should be asked as a separate question instead.
– karel
Jan 31 at 2:31
can it be used for the PHP script to send the maxima script above ?
– Johan Kun Riyanto
Feb 15 at 14:28
Yes, that can be done with a PHP script, but writing the PHP script is out of scope for Ask Ubuntu. If you've got your own PHP code, you can ask for help debugging it at Stack Overflow Q&A, but you have to show your code.
– karel
Feb 15 at 15:11
add a comment |
@JohanKunRiyanto The input lines in coba.mac are saved by wxMaxima (File -> Save) in a file named content.xml. Each line is enclosed by a pair of XML<line>
and</line>
tags. How to extract the input lines in coba.mac from content.xml and write them somewhere else using a bash script is too broad to include in this question. It should be asked as a separate question instead.
– karel
Jan 31 at 2:31
can it be used for the PHP script to send the maxima script above ?
– Johan Kun Riyanto
Feb 15 at 14:28
Yes, that can be done with a PHP script, but writing the PHP script is out of scope for Ask Ubuntu. If you've got your own PHP code, you can ask for help debugging it at Stack Overflow Q&A, but you have to show your code.
– karel
Feb 15 at 15:11
@JohanKunRiyanto The input lines in coba.mac are saved by wxMaxima (File -> Save) in a file named content.xml. Each line is enclosed by a pair of XML
<line>
and </line>
tags. How to extract the input lines in coba.mac from content.xml and write them somewhere else using a bash script is too broad to include in this question. It should be asked as a separate question instead.– karel
Jan 31 at 2:31
@JohanKunRiyanto The input lines in coba.mac are saved by wxMaxima (File -> Save) in a file named content.xml. Each line is enclosed by a pair of XML
<line>
and </line>
tags. How to extract the input lines in coba.mac from content.xml and write them somewhere else using a bash script is too broad to include in this question. It should be asked as a separate question instead.– karel
Jan 31 at 2:31
can it be used for the PHP script to send the maxima script above ?
– Johan Kun Riyanto
Feb 15 at 14:28
can it be used for the PHP script to send the maxima script above ?
– Johan Kun Riyanto
Feb 15 at 14:28
Yes, that can be done with a PHP script, but writing the PHP script is out of scope for Ask Ubuntu. If you've got your own PHP code, you can ask for help debugging it at Stack Overflow Q&A, but you have to show your code.
– karel
Feb 15 at 15:11
Yes, that can be done with a PHP script, but writing the PHP script is out of scope for Ask Ubuntu. If you've got your own PHP code, you can ask for help debugging it at Stack Overflow Q&A, but you have to show your code.
– karel
Feb 15 at 15:11
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112377%2fhow-to-install-maxima-and-make-syntax-on-ubuntu-server-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown