The problem says:
The first function, call it f1(), should compute the result of f(x)= x- ln(x). The second function call it f2(), should compute the result of any mathematical formula for which value is $0$ between $x=0$ and $x=1$.
According to the question the two functions are separated but I'm suppose to use the if and else statement but I'm having difficulties getting the command window to display the result.