Question: how to find number of roots of a function?
Answer: For a function, f(x) , the roots are the values of x for which f(x)=0 f ( x ) = 0 . For example, with the function f(x)=2−x f ( x ) = 2 − x , the only root would be x=2 , because that value produces f(x)=0 f ( x ) = 0 .