Posts with the tag Maths

Octave on Mac OS X

You can either download a *.dmg from

Or you can also install it via homebrew using:

brew install octave

I also wanted to install gnuplot including its AquaTerm terminal via homebrew (see Soeren's comment on But the build for AquaTerm failed :( :

cd /usr/local/Library/Formula/

Read on

calculate pi to a 1000 digits

Here is a shell / Bash script that calculates Pi to 1000 digits:

bc -l <<< 'scale=1000; 4*a(1)'
# which is shorter than the equivalent
echo "scale=1000;4*a(1)" | bc -l

One more calculation using bc: the golden ratio to 10 digits:

bc -l...

Read on

Mathematica 7.0.0 and 7.0.1 - High CPU Usage

Mathematica 7.0.0 and 7.0.1 had a high cpu usage on my computer even when it should be idle.

Besids from upgrading to 7.0.2 the following files might help:


Read on

Uninstall Mathematica on Ubuntu Linux

Basically, you have to:

  • delete the folders /usr/local/Wolfram and /usr/share/Mathematica.
  • remove a number of links in /usr/local/bin: mathematica mcc Mathematica math MathKernel.
  • in your home directory you can remove the folder ~/.Mathematica

The following commands do that all:

sudo rm -rf /usr/local/Wolfram
sudo rm -rf /usr/share/Mathematica
cd /usr/local/bin
sudo rm mathematica mcc Mathematica math MathKernel
rm -rf...

Read on

WYSIWYG Tool to Typeset Formulae

There's not just LaTex but also kformula:

sudo aptitude install kformula

Read on