Given matrix $A$ is symmetric and positive definite and $B$ is symmetric and NOT positive definite, how to find a positive scalar $t$ so that
$$ A+tB \succeq 0 $$
It is said that it's equivalent to let all eigenvalues of $A+tB $ lie outside the interval $(0,t)$
How to solve this problem algebraically or numerically?