Hi community! I need u help, i have an exercise, calcule a binomial to n-power, it is like this:
Total= (1 + 0.01)^ N
I have written:
exercise <- function(N){
total <- (1 + 0.01)^N
return(total)
}
But, it doesn't work
I'm a beginner, please help me to find the error.