I\'m new to R and trying to learn stats.. Here is one practice question that I\'m trying to figure out How should I use R code to create a function based on this math equat