Write a program to compute R∞

What do you mean by “change the value of n”?

you want the value of R when n is going to infinity

i’m still really stuck on how to code that

your function is an asinthotic function, at infinite values of the indipendent variable, the function tends to a specific number.

If you calculate the value of the function at bigger and bigger numbers of n, you will find that the value of the function at one point stop changing. When the value of the function stop changing, then, that’s the value the function assume when n tends to infinity