% LMex040601_4th.m
% Example 4.6.1
syms y s
s=int(1e-4*y*exp(-1e-2*y),0,50)
fprintf(...
  'The probability that the system fails to last for 50 hours =%6.4f\n',...
   eval(s))