From the software that came with our Probability & Statistics book:

1eq1.png