## Terry Honan |

# Mathematica Page

This page contains Mathematica files, available for download. Comments and suggestions can be sent to Terry Honan.

## Circuit Package

The Circuit package is a tool for drawing circuit diagrams. There are three files. Circuit.m is the package. The source code is in *Circuit.nb*; it is a notebook with initialization cells and will generate a new "Circuit.m" file when saved. There is also a *Circuit - Usage Notebook.nb* which contains many examples.

This Zipped File (File date: October 31, 2014) opens to a folder that contains the three files described above. The package can be installed using "Install..." under the Mathematica File menu; install the *Circuit.m* file as a Package.

## GraphicsTools and MechanicsTools Packages

The GraphicsTools package is a simple package (no context is created) that contains some useful tools. MechanicsTools is another simple package that requires GraphicsTools and contains more tools that are mechanics specific. There are five files. GraphicsTools.m and MechanicsTools.m are the packages. The source code is in* GraphicsTools.m* and *MechanicsTools.m*, which are notebools with initialization cells and will generate new ".m" file when saved. There is also a *GraphicsTools and MechanicsTools - Usage Notebook.nb* which contains many examples.

This Zipped File (File date: November 3, 2014) opens to a folder that contains the three files described above. The package can be installed using "Install..." under the Mathematica File menu; install the *.m* files as Packages.

## 2012 Wolfram Technology Conference Talk

This is a video of a talk given at the 2012 Wolfram Technology Conference: The Use of Mathematica and CDF to Create and Distribute Interactive Physics Lecture Notes.

## Inputting Units

The palette and package allow for quick input of properly typeset units in Mathematica, avoiding the clunky units-discovery approach involving Wolfram Alpha queries. As an example, the expression below can be inputted quickly using the palette or the aliases.

This Zipped File (File date: November 3, 2014) opens to a folder that contains the four files described below. Both the palette and package can be installed using "Install..." under the Mathematica File menu; install the *InputUnits.m* file as a Package and the *Units.nb* file as a Palette.

**Units Palette:** *Units.nb* is a palette to input properly typeset units. The source code for this, *Units Palette.nb*, is also included. Mouseovers on the palette show the keyboard shortcuts for input aliases for these units. The palette has a Load Aliases button that loads the package.

**Units Package:** *InputUnits.m* is the package that loads the aliases for inputting units. The aliases are added to the current session of the Front End and the package must be loaded for each new Front End session. To load the package, use the Load Aliases button on the palette or evaluate <<InputUnits` in Mathematica. The aliases begin with q, for "Quantity"; for instance, esc-qm-esc inputs the unit m for Meters. Mouseovers on the Units Palette show these input aliases. The package source code can be found in *InputUnits.nb*.

*This page was last modified
November 4, 2014
*

thonan@blinn.edu