next up previous
Next: Inheriting from the amplifier
Up: MODEL MASTER: MAKING SPREADSHEETS SAFE

First presented at CALECO
Previous: Specifying cell locations


MM circuit example

In this section, we shall go more rapidly through another example, modelling a simple circuit. We start with an amplifier whose output is 5 times its input:

object amplifier {
  < input : real
    output: real
  >
  output[t] = 5*input[t]
}





Jocelyn Ireson-Paine
Sat Nov 28 17:42:14 GMT 1998