Question: Stopping Numeric Integration after a time limit

Hi,

I'm trying to stop integration if the numeric procedure takes more than ~2 seconds and set the value to zero. As an example consider

restart;
st:=time():
answer:= evalf( Int(SphericalY(161,5,x,5)*SphericalY(262,5,x,x), x=0..10));
t:= time()-st;

This takes 0.63 seconds on my computer, but I wish to stop it after 0.1 seconds as an example. Is there anyway to access the inside of evalf(Int...)) and kill it after 0.1 seconds?

thanks,

Please Wait...