WebSocket Test

WebSocket Test

Ubuntu 14.04: Making it useful


sudo apt-get install ipython-notebook htop vim flashplugin-installer nautilus-open-terminal spyder tortoisehg-nautilus network-manager-openconnect ssh

Total differentials

Total differentials are useful but how do you technically go from them to differentials of functions. Let’s define $f(x)$ as a continuous function.


$$ df= \frac{\partial f}{\partial x} dx,$$

where df is called the total differential. If x(t) is a function t then how do we get this explicit dependence?

$$ f = \int df = \int  \frac{\partial f}{\partial x} dx, $$

where we have used the fundamental theorem of calculus. Now we can perform a change of variables using the total differential of x ie. $dx=dx/dt dt$:

$$ f = \int  \frac{\partial f}{\partial x} dx =  \int  \frac{\partial f}{\partial x} \frac{dx}{dt} dt,$$

which can be differentiated with respect to time to give

$$ \frac{df}{dt} =\frac{\partial f}{\partial x} \frac{dx}{dt}. $$

Here we changed the variables of the integrals (so be careful of the integral limits)

Getting the newest version of Octave for Ubuntu/Debian

If you want the newest version of Octave (3.8 as of the time of writing) you will need to compile it yourself.


sudo apt-get build-dep octave
sudo apt-get install libqscintilla2-9 libqscintilla2-dev
wget ftp://ftp.gnu.org/gnu/octave/octave-3.8.0.tar.bz2
tar -xvf octave-3.8.0.tar.bz2
cd octave-3.8.0
make check
sudo make install

when this is done Octave should work for you. Keep an eye out for warnings though. This was tested on Ubuntu 13.04 64 bit. If you use Debian you will need libqscintilla2-8 instead of 9. I  am actually not sure if you only need the dev package. On Debian you will also need to install libxft2-dev since this is not installed by default.

To run Octave with the GUI enabled run

octave –force-gui

this enables the GUI. The GUI is still in beta though so it might be a bit rough.