Question: What is the procedure parameter for a function

I want to make a procedure that takes a function as an input, but everything I've tried has turned the function into a string.
This is what I want to do.

newtons := proc( f::function, x, n::integer)

But when I try and use the the function f that I defined, it just gets treated like a string or something. I can't put variables into it, I cant evaluate anything from it.

How do I get proc to see f as a function?

Please Wait...