Simulates and plots
a truncated Gaussian distribution, in its interval
Xa < X < Xb. Then,
a regression is done to recover the four parameters given.
(The parameters μ, σ,
Xa and Xb all have the same units as
X, i.e., [X], whereas the pdf, y, has
[X]−1.) |