You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aliz237 edited this page Oct 23, 2022
·
2 revisions
Notes on macOS Installation
Install python, pip and octave first if not already installed.
Run octave in a terminal, then from within octave:
octave:1> pkg install -forge symbolic
For information about changes from previous versions of the symbolic package, run 'news symbolic'.
octave:2> pkg load symbolic
octave:3> syms x
Symbolic pkg v3.0.1: Python communication link active, SymPy v1.11.1.
octave:4> f = (sin(x/2))^3
f = (sym)
3⎛x⎞
sin ⎜─⎟
⎝2⎠
octave:5> diff(f, x)
ans = (sym)
2⎛x⎞ ⎛x⎞
3⋅sin ⎜─⎟⋅cos⎜─⎟
⎝2⎠ ⎝2⎠
────────────────
2
octave:6>