Month: February 2019

A library discard: ANSI COBOL WITH STRUCTURED PROGRAMMING

February 14, 2019 Mainframe ,

Look what I found for $2 at the public library in the no-longer-circulating discard bin

Can you believe that a book like this wasn’t flying off the shelves and ended up in the for sale box?!

So far I quite like it, as it has a number of examples of bad COBOL style, and what you should do instead.  Example:

Ways to make COBOL source code burn your eyes less are much appreciated.  The first sample above definitely mandates a trip to the eye wash station.

Continuum mechanics (fluid dynamics) notes posted.

February 13, 2019 math and physics play

I’ve posted a refreshed version of my old fluid mechanics course notes (aka Continuum mechanics).  Also included are instructions to clone the git repositories, and make the pdf from the latex sources (which would allow customization if desired).

Updated statistical mechanics notes.

February 13, 2019 math and physics play

I’ve posted a minor update to my old stat mech notes, plus instructions on how to clone the github repos and the latex, should somebody wish to attempt to fork these notes for their own purposes.  Enjoy!

Mathematica notebooks updated, and a bivector addition visualization.

February 10, 2019 math and physics play , , ,

This blog now has a copy of all my Mathematica notebooks (as of Feb 10, 2019), complete with a chronological index.  I hadn’t updated that index since 2014, and it was quite stale.

I’ve also added an additional level of per-directory indexing.  For example, you can now look at just the notebooks for my book, Geometric Algebra for Electrical Engineers.  That was possible before, but you would have had to clone the entire git repository to be able to do so easily.

This update includes a new notebook written today, which has a Manipulate visualization of 3D bivector addition that is kind of fun.

Bivector addition, at least in 3D, can be done graphically almost like vector addition.  Instead of trying to add the planes (which can be done, as in the neat illustration in Geometric Algebra for Computer Science), you can do the task more simply by connecting the normals head to tail, where each of the normals are scaled by the area of the bivector (i.e. it’s absolute magnitude).  The resulting bivector has an area equal to the length of that sum of normals, and a “direction” perpendicular to that resulting normal.  This fun little Manipulate lets you interactively visualize this process, by changing the radius of a set of summed bivectors, each oriented in a different direction, and observing the effects of doing so.

Of course, you can interpret this visualization as nothing more than a representation of addition of cross products, if you were to interpret the vector representing a cross product as an oriented area with a normal equal to that cross product (where the normal’s magnitude equals the area, as in this bivector addition visualization.)  This works out nicely because of the duality relationship between the cross and wedge product, and the duality relationship between 3D bivectors and their normals.

Small update to old notes for phy450, Relativistic Electrodynamics

February 9, 2019 Uncategorized

I’ve updated the pdf for my old phy450 notes (Relativistic Electrodynamics) from the current latex sources.  Also included on that page are a contents listing, and instructions for forking the git repos.  That should allow for building the pdf from the latex, so if somebody had changes they’d like to make, either for themselves or as feedback, they should be able to do so.