Other articles


  1. Hessian matrix and functions of multiple variables

    Series expansion of a function with several variables

    The starting point is the familiar Taylor series expansion for a single variable: \begin{equation} f(x+dx) = f(x) + \frac{df}{dx}dx + \frac{1}{2!}\frac{d^2 f}{dx^2}dx^2 + \frac{1}{3!}\frac{d^3 f}{dx^3}dx^3 + \cdots \end{equation}

    For a function of multiple variables (which we shall take to be $x$, $y$ and $z$ in this case), we want to find the series expansion in terms of $dx$, $dy$ and $dz$. That is we want to develop a series expansion for $f(x+dx,y+dy,z+dz)$

    read more
  2. Waves and oscillations

    1. Abstract

    This article introduces the idea of Fourier series from the approach of linear algebra. Starting with a system of coupled oscillators and introducing the idea of normal modes, the article shows how the wave equation and the Fourier series solution for different boundary conditions are natural consequences of the aforementioned system in the continuum limit. This approach to waves and Fourier series from a purely linear algebra perspective is usually not emphasized and can be an interesting way to revisit the topic.

    read more
  3. Wheels within wheels

    I had originally published this post on my earlier website and am republishing it here with slight variations.

    Epicycloids and hypocycloids offer unlimited artistic possibilities while requiring only a rudimentary knowledge of trigonometry and coordinate geometry. Because of this reason they seemed to be the perfect place to get started I first started exploring Python’s matplotlib read more

  4. Reflection of waves in a two-dimensional boundary

    The Python codes I wrote for creating the animations in this post are available at my github repo.

    Like Archimedes, I like my occasional warm bath in winter. And like Archimedes, I am given to pensive cogitations in the bath tub. On one such occasion, spent in pensively reflecting and cogitating in the bath tub on this and that, the patterns of waves on the water surface caught my attention. The slightest movement on my part would set off a wave in motion, which would go out in a circle, get reflected from the wall of the tub, change direction, come back, meet another wave coming in from the other direction, get reflected from the opposite wall, and so on it went, getting reflected over and over again, meeting other waves on the way, which in their turn were being reflected and traveling back and forth, till in the end an absolutely incomprehensible display of patterns developed itself in the bath tub. “a fascinating display of shimmering patterns” is another way to describe the phenomenon. I accordingly transferred my cogitations to understanding these patterns. After the mechanism was clear, I spent some time in coding with Python to simulate them, and here is the result of that simulation:

    read more
  5. Uploading video and audio files using Pelican

    YouTube Videos

    First follow these four steps:

    1. Use the youtube site to find the video you want
    2. Click the 'Share' button below the video
    3. Click the 'Embed' button next to the link they show you
    4. Copy the iframe code given and paste it into the html of your web page.

    Dann den iframe-Kode direkt in einem Cell einfügen. Der Kode wird nicht sichtbar sein aber das Video ist auf dem Blog zu sehen. (In meinen Jupyter Notebook sehe ich das Video nicht. Erst wenn ich die html Datei mit Pelican generiert habe, sehe ich das Video in meinem Browser.)

    read more
  6. Uploading images using Pelican

    Bilder

    In diesem Post möchte ich erklären, wie man Bilder hochladen kann. Es gibt verschiedene Methoden, mit denen man auf dem Blog Bilder hochladen kann. Hier steht ein Video, das vier solche Methoden erklärt. Ich werde hier nur zwei von diesen Methoden zeigen, weil mit diesen Methoden man die Größe der Bilder kontrollieren kann.

    read more
  7. Python Kode in einem Blogpost

    Dieser Post ist eine Erweiterung des letzten Posts. Der letzte Post war mein erster Post auf diese Blog und ich habe verschiedene Möglichkeiten mit Markup und Latex ausprobiert. In diesem Post möchte ich zeigen, wie man Python Code rennen kann und die Ergebnisse auf dem Blogpost zeigen kann. Das ist sehr praktisch, wenn man z.B. man zeigen möchte, wie ein Stück Python-Kodes funktioniert.

    read more
  8. Bloggen mit Pelican und Github Pages

    Endlich habe ich es geschafft: einen Blog auf Github zu erstellen. Zwar habe ich seit lang mit den Gedanken gespielt, so was zu tun, aber meine Stelle als Referendar an einer Schule in Berlin ließ mich mit kaum Zeit für etwas, das nicht direkt mit der Schule zu tun hat. Aber jetzt, da ich nicht mehr diese Einschränkung habe, habe ich endlich dafür Zeit gefunden.

    read more

social