Mathematica as an Engineering Tool: FET Diagram

download notebookDownload this example as a Mathematica notebook.

This notebook is a modification of Paul Wellin's EngineeringDemo.nb

Code by Alfy Riddle
Macalan Consulting
Author of: Nodal2.0: A package for circuit analysis in Mathematica

By combining a few of Mathematica's built-in drawing commands, an engineer can build a precise representation of any system.

Here is an example from electrical engineering using some Mathematica programming developed by Alfy Riddle.  


Riddle's function produces a diagram of a FET using the programming structures of Mathematica.  The function is made up of a series of Mathematica commands wrapped in Block, a Mathematica function that sets up an environment in which the values of variables can be changed temporarily.  After executing the block of commands, the original values of all symbols used are restored.  



Now call on the function to produce the FET diagram.