Drop links or images here to add them to the editor.

Repeat the previous exercise, but this time use sapply instead of a for-loop. Your result has to contain the compute_s_n and s_n objects.