Correct problem wording and solution text.
Change parameter values to ensure given function is a valid density
function, improve formatting.