Keywords

Navigation:  Language Reference > Keywords >

Keywords

Previous pageReturn to chapter overviewNext page

Before the actual equations, three sections can be entered denoted by the keywords constants, parameters and variables. This is shown in the example below:

 

constants

 real basefrequency = 60;

 real pi = 3.14159265;

parameters

 real amplitude = 1;

variables

 real plot;

equations

 plot = amplitude * sin (basefrequency*2*pi * time);