I want to write a mathematical formula as functions in R.

My formula V(C) = 1/1 + (C / H) ^ n where C, H and n are the parameter of the function that I can change. This is my first attempts to write a function in R, so please help.

### >Solution :

```
V <- function( C, H, n ){
1 / 1 + ( C / H )^n
}
```