You are not logged in.
Post a reply
Topic review (newest first)
Okay, I will run a few when I get clear of work.
Cannot do. I'm on the phond and will probably not be able to get on the laptop for the day.
M code please?
I tested for a few values and it works.
We could run a simulation. We could substitute numbers and at least see whether the formula works for a few examples. It can not prove the correctness of it but it sure can prove it false.
Which kind of verification do you need?
Did you fix it? Now how about a verification?
Hm, I just found an error concerning the numbers. Let me fix the formula.
Hmmm, have you tested this formula?
No, I derived the formula myself using the PIE.
The Wikipedia article covers PIE but it does not explain the formula in post #8.
Well, I do not know of any you could read, but there is an article on Wikipedia on it. Search for "inclusion exclusion principle".
Which common one would you recommend?
It can be found in any common textbook. |AuB|=|A|+|B|-|AnB|.