MODEL MASTER
AN OBJECT-ORIENTED SPREADSHEET FRONT-END

Making spreadsheets safer

Contents Previous Next

MM circuit example - the amplifier

Let's now go through another example, in which we shall connect some electronic components together. First, we describe an amplifier that multiples its input by 5.

object amplifier
    attributes
        input : real
        output: real
    where
        output[t] = 5*input[t].

 


Contents Previous Next

Copyright © 1998 J Ireson-Paine. All rights reserved