Verification of Bernoulli Theroem