
# Commands to sample from a univariate normal distributon with mean 10 and
# and variance 1, using the Metropolis algorithm with stepsize given as 
# an argument.  The distribution is specified by giving an "energy" function 
# of (x-10)^2/2.

dist-spec nlog,$1 "(x-10)^2/2"
mc-spec nlog,$1 metropolis $1
dist-mc nlog,$1 1000
