Calculating expected offspring

Sign in to test your solution.