## About the Series

### Why a Calculator Series?

Dive into any Electrical Engineering (EE) topic and you'll find that its theory and application are driven largely by equations and calculations. Need to find the resistor to achieve an amplifier gain? Need to understand how a filter's bandwidth effects settling time? Then grab (or create) a calculator and let the equations work for you! Play with values to get a feel for a particular concept! Go to Collection...

Consider the collection as templates to create your own library of EE calculators.

### Simple Example

How many Levels are defined given N Bits of resolution?

N Bits Levels = 2^N =

### Why JavaScript?

Turns out that JavaScript is a medium horse-power language well suited for many scientific and engineering calculations. This language made the cut for several reason

• Simple to understand.
• Easy to modify, experiment, etc.
• Its FREE!
• Runs in your browser - no web needed!
• Edit with a text editor.

### A SPICE Companion

What a great companion to SPICE simulations. These EE Calculators assist your design and simulation adventures. Further down the road, you'll how to create your own SPICE Models and write the netlist directly to a text area for an easy cut and paste into a subcircuit file..

### Enabling JavaScript

You might have to explicitly enable JavaScript on your browser. Here are the instructions how to enable JavaScript..

### JavaScript

Here's the fairly straight forward code.

```//////////////////////////////////////////////
// calc Levels vs N Nit Resolution
//////////////////////////////////////////////
function getLevels_NBits() {
// get values directly from form
var N=document.myForm.N.value
var Levels;
// calc
Levels=Math.pow(2,N);
// place in text box
document.myForm.Levels.value = Levels;
}
///////////////////////////////////////////////
```

### Download

To modify, customize or run on your PC, download a simple version of this file.