Look at the Rainbow in a Soap Film: A simple STEM Project

My heart leaps up when I behold 
   A rainbow in the sky:
So was it when my life began; 
So is it now I am a man; 
So be it when I shall grow old, 
   Or let me die!
The Child is father of the Man;
And I could wish my days to be
Bound each to each by natural piety.

William Wordsworth, March 26, 1802


I couldn’t resist citing the beautiful poetry by Wordsworth about the rainbow to introduce my new Instructable, ‘Explore the Physics of Soap Films with the SoapFilmScope.’ I got the idea for this project by reading an article by Gaulon et al. [1]. The authors describe in detail the use of soap film as an educational aid to explore interesting effects in the fluid dynamics of this system. In particular, they examine the impact of acoustic waves on the unique optical properties of the film. In this Instructable, we have designed a device called the SoapFilmScope to perform these experiments. This tutorial will guide you through the process of creating this device, showcasing the mesmerizing interaction between sound waves and liquid membranes. The SoapFilmScope offers an engaging way to explore the physics of acoustics, light interference, and fluid dynamics.

When a sound wave travels through the tube and vibrates the soap film, it creates dynamic patterns through several fascinating mechanisms:

The device consists of a vertical soap film delicately suspended at the end of a tube obtained from a PVC T-shaped fitting that you can get from any DIY store. By attaching a small inexpensive speaker to it, you can let the film dance to the rhythm of the music.

Continue reading

Retro Programming Nostalgia VI: Exploring the Hyperspace

Henk Rogers: Um, I like Pascal. Assembler is my go-to. But never underestimate…
Alexey Pajitnov: …the power of BASIC.

From the movie Tetris (2023).

It has been a long while that I wanted to write this article. The usual motivation is to propose another of my BASIC programming explorations performed in the 80s on my Philips MSX VG-8010 and Amiga 500 microcomputer. The exploration was encouraged by the reading of another of the brilliant articles by A. K. Dewdney in his column “Ricreazioni al Calcolatore” (Computer Recreation) of Le Scienze, the edition in Italian of Scientific American [1]. Dewdney’s article was inspired by the beautiful book by Thomas F. Banchoff [2] who pioneered in the early 1990s the study using computer graphics of hyperdimensional objects.

Continue reading

Exploring Disordered Proteins: A Study on Flexible Peptides

Proteins are not always rigid structures. Many of their most important parts — linkers, loops, and disordered regions — are highly flexible, constantly changing shape in solution. To understand how these regions behave, scientists often study short model peptides that capture the essential physics of flexibility. In a new article [1], I have explored the behavior of glycine- and serine-rich octapeptides using molecular dynamics simulations combined with concepts from FRET (Förster Resonance Energy Transfer) spectroscopy (see also my previous post).

Continue reading

Easter 2024: Dinosaur Eggs, Kinder Surprise, Drug Capsules, Jumping Beans Toy and Retro programming

Oh my God. Do you know what this is? This is a dinosaur egg. The dinosaurs are breeding.

Dr. Alan Grant, Jurassic Park movie (1993)

We are again approaching Easter time and, as tradition, I would like to celebrate with an article dedicated to the most perfect thing in nature: the egg. I came across interesting books about the discovery of dinosaur eggs last year. Dinosaurs are the ancestors of birds and modern reptiles, so we will take a little detour from the traditional Easter egg, and with the spirit of equal opportunity justice, we will look at the shape of these.

Continue reading

The KaleidoPhoneScope: a Dance of Light, Sounds, and Mathematics

Sometime ago, I have written about the Lissajous-Bowditch figures. In the same article, it is described how to build a simple device called a kaleidophone to generate Lissajous patterns. Using a small mirror fixed securely to the end of a bent wire on a stable platform and a laser beam from a laser pointer reflects off it, mesmerizing, intertwined spirals of light. The laser beam will appear dancing on the wall of your room. This enchanting display results from two mutually perpendicular harmonic oscillations generated by the vibrations of the elastic wire. These captivating patterns are known as Lissajous-Bowditch figures and are named after the French physicist Jules Antoine Lissajous, who did a detailed study of them (published in his Mémoire sur l’étude optique des mouvements vibratoires, 1857). The American mathematician Nathaniel Bowditch (1773 – 1838) conducted earlier and independent studies on the same curves, and for this reason, the figures are also called Lissajous-Bowditch curves [2].

LB curves result from the combination of two harmonic motions, and therefore, they can be mathematically generated through a parametric representation involving two sinusoidal functions (see Figure and also here). Lissajous invented different mechanical devices reproducing these periodic oscillations consisting of two mirrors attached to two oriented diapasons (or other oscillators) by double reflecting a collimated ray of light on a screen, producing these figures upon oscillations of the diapasons. The diapason can be substituted with elastic wires, speakers, pendulum, or electronic circuits. In the last case, the light is the electron beam of a cathodic tube (or its digital equivalent) of an oscilloscope [3]. 

The simplest of these devices is the KaleidoPhone, invented (and named) by the British physicist Charles Wheatstone at the beginning of the 19th century [3,4]. The Kaleidophone creates stunning Lissajous patterns and is an excellent example of how science can also be an art form.  You can bring the mesmerizing dance of light to life with just a few simple materials and creativity. 

In a new Instructable project, I have presented a modern compact version of the kalidophone device fabricated with the help of 3D printing technology and enhanced with a digital camera.

For this last bit of modern technology, the new device is called KaleidoPhoneScope. What makes this little device is the facility to adapt it to record another form of vibrations by adding a speaker and another mirror free to vibrate on its bizarre pattern, recalling SciFi movies promp appear on a free wall (or door) of your studio.

As Christmas approaches, what is the best time to try this device with a traditional song? Here is the result. Activate the captions to see the corresponding frequencies of the tones.

I wish you all to spend a Merry Christmas with your dearest, and I hope to see a peace and

REFERENCES

  1. T. B. Greenslade Jr., “All about Lissajous figures,” The Physics Teacher, 31, 364 (1993).
  2. T. B. Greenslade Jr., “Devices to Illustrate Lissajous Figures,” *The Physics Teacher, 41, 351 (2003).
  3. C. Wheatstone, Description of the kaleidophone, or phonic kaleidoscope: A new philosophical toy, for the illustration of several interesting and amusing acoustical and optical phenomena, Quarterly Journal of Science, Literature and Art 23, 344 (1827).
  4. R. J. Whitaker, “The Wheatstone kaleidophone,” American Journal of Physics, 61, 722 (1993).

Methods of Calculating Atomic Charges based on Electronegativity. Part I.

The electronegativity of a chemical element measures the tendency of an atom to attract electrons around it. This definition was formalized for the first time, in a semi-empirical form, by the chemist Linus Pauling in the early 1930s, but it had already been proposed in the late 1800s by the Swedish chemist Berzelius. In molecules, this tendency determines the molecular electronic distribution and therefore influences molecular properties such as the distribution of partial charges and chemical reactivity. Pauling provided an electronegativity scale by comparing bond dissociation energies of pairs of atoms (A, B) using the equation

\chi_P=E_{AB}-\left(\frac{E_{AA}-E_{BB}}{2}\right)

With $E_{AB}$, $E_{AA}$, and $E_{BB}$ being the dissociation energies of the molecules AB, AA, and BB, respectively.

A few years later, in 1934, Mulliken proposed an expanded definition of electronegativity based on spectroscopically measurable atomic properties such as ionization potential (I) and electron affinity (E):

\chi_M=\left(\frac{I-A}{2}\right)

Continue reading

I Metodi di Calcolo delle Cariche Atomiche basati sull’Elettronegatività. Parte I.

L’elettronegatività di un elemento chimico misura la tendenza di un atomo ad attrarre intorno a sé elettroni. Questa definizione fu formalizzata per la prima volta, in foma semi-empirica, dal chimico Linus Pauling all’inizio del 1930 ma era già stata proposta nella seconda metà dell’1800 dal chimico svedese Berzelius. Nelle molecole, questa tendenza determina la distribuzione elettronica molecolare e quindi influenza le proprietà molecolari quali per esempio, la distribuzione delle cariche parziali e la reattività chimica. Pauling ha fornito una scala di elettronegatività confrontando le energie di dissociazione di legame di coppie di atomi (A, B) usando la relazione

\chi_P=E_{AB}-\left(\frac{E_{AA}-E_{BB}}{2}\right)

con E_{AB}, E_{AA}, and E_{BB}, rispettivamente le energie di dissociazione delle molecole AB, AA, and BB.

Qualche anno dopo, nel 1934, Mulliken propose una definizione estesa di elettronegatività basata su proprietà atomiche misurabili spettroscopicamente, quali il potenziale di ionizzazione (I) e l’affinità elettronica (E):

\chi_M=\left(\frac{I-A}{2}\right)

Continue reading

Retro Programming Nostalgia V: Phase Plane of Autonomous Planar System of DE

What is the origin of the urge, the fascination that drives physicists, mathematicians, and presumably other scientists as well? Psychoanalysis suggests that it is sexual curiosity. You start by asking where little babies come from, one thing leads to another, and you find yourself preparing nitroglycerine or solving differential equations. This explanation is somewhat irritating, and therefore probably basically correct. David Ruelle, in Chance and Chaos

Here I am again for a new appointment with the Italian version of the column “Retro Programming Nostalgia“, my very own adventure in computer archaeology, rediscovering old programs written some time ago on microcomputers that have made their mark on an era.

This time, in my old floppy disks for the glorious Amiga 500, I found a program in Amiga Basic that I wrote during the early years of my university studies, when I was taking the course on differential equations II. Specifically, I was very fascinated by autonomous systems of differential equations due to their numerous applications in mathematical modeling of physical, chemical, and biological systems, as well as their importance in the theory of chaos. As in the series articles, I want to release an adapted version for the QB64 BASIC meta-compiler, but before presenting the program, I want to briefly explain what an autonomous system of differential equations is.

Continue reading

Retro Programming Nostalgia V: Sistemi Autonomi di Equazioni differenziali

“Qual è l’origine del desiderio, della fascinazione che spinge i fisici, i matematici e presumibilmente anche altri scienziati? La psicoanalisi suggerisce che si tratti di curiosità sessuale. Si comincia chiedendosi da dove vengano i bambini piccoli, una cosa porta all’altra e ci si ritrova a preparare il nitroglicerina o a risolvere equazioni differenziali. Questa spiegazione è un po’ irritante, e quindi probabilmente fondamentalmente corretta.” – David Ruelle, in “Chance and Chaos”

Eccomi di nuovo per un nuovo appuntamento con la versione in italiano della Rubrica “Retro Programming Nostalgia “, la mia personalissima avventura d’ archeologia informatica alla riscoperta di vecchi programmi scritti qualche tempo fa su microcomputers che hanno segnato un’epoca.

Questa volta, nei miei vecchi dischetti per il glorioso Amiga 500, ho trovato un programma in Amiga Basic che scrissi durante i primi anni dei miei studi universitari, quando studiavo nel corso di matematica II, i sistemi d’equazioni differenziali. In particolare, ero molto affascinato dai sistemi di equazioni differenziali autonomi per via delle molteplici applicazioni nella modellazione matematica di sistemi fisici, chimici e biologici, e per la loro importanza nella teoria del caos. Come negli articoli della serie, voglio rilasciare una versione riadattata per il meta compilatore QB64 BASIC, ma prima di presentare il programma, voglio brevemente spiegare cosa sia un sistema autonomo di equazioni differenziali.

Continue reading

Programming in Awk Language. LiStaLiA: Little Statistics Library in Awk. Part II

This article describes a new function of the LiStaLiA library. As I mentioned in Part I of this series of articles, I didn’t extensively test the library, so I am releasing it as an alpha version. Please let me know if you find any errors or if you improve the function, and feel free to send me your modified code!

CALCULATING STATISTICS PROPERTIES OF DATA SETS

The new functions perform a statistical analysis of the data set read by the function ReadData(). The source code of this new library functions is reported in the Appendix. The following list report all the descriptor calculated buy the functions.

Continue reading