Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
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.