function [value,isterminal,direction] = events_figure5(t,u)

value(1)=u(7)-100;
isterminal(1)=0;
direction(1)=-1;