I'm trying to write a program, and am having quite a hard time. I am trying to get the program to solve the 2^{k}>=n statistics rule. So far, I have this:

Define k(n)=

Prgm

Disp solve(s^{k}>=n,k)

End Prgm

If you run this, say k(175), you receive k>=ln (175) /ln (2)

For the rule to be helpful, you need a whole number. So in this example, 8 would be the answer I'm looking for. I tried adding round() to the prgm and I continually receive errors. How can I have this program take an input of n and give me the correct answer rounded to a whole number?