Problem: Write a function to let the user calculate the value of a function f(x) at an arbitrary point x = a
- Input: a
- Output: value of the function f at x = a
Apply to calculate the value of f(x)= sqrt(x-2) at x=4.
My question: I don't know clearly the meaning of this problem. If we want to calculate the value of a function, we can assign a value we need and put it in a function without defining a function like this?