More on Declarations
extern double pi;
double pi = 3.1415;
#include <math.h>
static double exp_random (double mu)
{ return -mu * log (random());
}
void simulation1 ()
{ /* declarations and code */
double x1 = exp_random (2.1);
/* more code */
}