#!/afs/athena.mit.edu/software/math_v11.3/bin/wolframscript -script
(* Wolfram example showing how to make an executable script that can be *)
(* run directly, i.e. "./samplescript.m" *)


(* generate high-precision samples of a mixed distribution *)
Print /@ RandomVariate[MixtureDistribution[
    {1,2},
    {NormalDistribution[1,2/10],
     NormalDistribution[3,1/10]}],
    10,  WorkingPrecision -> 50]
