Let and , then the probability that the function has a root in the interval is
Pick one
Solution
Analysis
This problem examines the classical probability model and the determination of function roots. The key is to analyze the relationship between and based on the method of determining function roots. If there is a root, then . Solving this gives . Discussing by cases and using the classical probability formula to calculate the probability.
Solution
Since , we have .
Given , we have ,
Thus, the function is increasing in the interval .
If there is a root, then , solving this gives .
Therefore, the cases that allow the function to have a root in the interval are:
- For , , thus , , , totaling cases;
- For , , thus , , , totaling cases;
- For , , thus , , , totaling cases;
- For , , thus , , totaling cases.
Thus, there are a total of cases where the function has a root.
Since there are possible functions,
According to the classical probability model, the probability of having a root is .
Therefore, the correct choice is .