Hi

I have an equation that I have to show that is something as the following:

X= (amount of log that fits certain criteria) | the criteria is that the difference of, two timestamps in the logs are smaller than 3 seconds

Y = amount of logs that have some flag

Z = (100-X)/(Y*100)

I need to show Z the problem is that I don't know how to make any complicated search of finding any A and then dividing it by B. I only know how to find A or B.