It is impossible for the resident to make any errors at time , so .
Next, recall that the fundamental theorem of calculus states that
where is the derivative of .
Now, calculate for any as follows. Let . Then in the above equation, set , , , and . By the fundamental theorem of calculus
As , it follows that
To calculate the above definite integral, we calculate the following indefinite integral (below, recall that 48 is 16 times 3).
Now compute
Hence
.
By simply changing notation (write t instead of s) we can re-write our solution as
which is the answer to the question.