#include <acknex.h>
#include <default.c>
#define PI 3.14159
double f = 0;
double C = .000000000020;
double L = .0000000000020;
/////////////////////////////////////////////////////////////////////
PANEL* panDisplay =
{
digits(35, 10, "f = %0.f", *, 1,f);
digits(35, 28, "l = %0.f", *, 1, l);
digits(35, 38, "c = %0.f", *, 1, c);
flags = SHOW;
}
/////////////////////////////////////////////////////////////////////
function main()
{
screen_size.x = 800;
screen_size.y = 600;
screen_color.blue = 150; // and make its background dark blue
while (1)
{
f = 1/ 2*PI*sqrt(L*C);
wait (1);
}
}