Hitch_Hawk

5 Reputation

One Badge

0 years, 350 days
Lives on the planet named earth. Does things with other humans like consuming water, breathing in oxygen and (attempting to) breath out carbon dioxide.

MaplePrimes Activity


These are questions asked by Hitch_Hawk

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?

Page 1 of 1