Short yet useful lines of code for MATLAB, LaTeX, Excel, and Mathematica.