Systematic Architecture [EN]
The blog on systems development/architecture, to be a beautiful, artistic one.
Showing posts with label
Maxima
.
Show all posts
Showing posts with label
Maxima
.
Show all posts
Saturday, 15 August 2015
The Usage Comparison of Mathematica and Maxima
The Comparison how to use Maxima and Mathematica ================================================ Keys ---- | Action | Maxima | Mathematica | | ------------- |:-------------:| :-----:| | Input the last input | `Alt` + `↑` | `Ctrl` + `l` | Syntax ------ | Function | Maxima | Mathematica | | ------------- |:-------------:| :-----:| | logarithm | `log(5)` | `Log[5]` | | plot 2D | `plot2d[log(x), [x, 0, 5]]` | `Plot[Log[x], {x, 0, 5}]` |
Monday, 3 August 2015
Fibonacci Number Graph with Maxima
Let's make the graph of Fibonacci number (series). However if you plot fib(x) as usually as functions, e.g. sin(x), ``` wxplot2d (fib(x),[x, 0, 5])$ ``` then you got an error. ``` plot2d: expression evaluates to non-numeric value everywhere in plotting range. plot2d: nothing to plot. ``` Because the x of fib(x) doesn't allow a decimal value. In proof if you execute `fib(1.5)` your PC will be frozen... So works the following. ``` plot2d ([discrete, makelist(fib(i), i, 0, 64),[x, 0, 64]])$ wxplot2d ([discrete, makelist(fib(i), i, 0, 64),[x, 0, 64]])$ wxplot2d ([discrete, makelist(1/fib(i), i, 0, 64),[x, 0, 64]])$ ```
Older Posts
Home
Subscribe to:
Posts (Atom)