HP Forums
Catching mice - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Catching mice (/thread-16044.html)



Catching mice - CMarangon - 12-12-2020 07:07 PM

Hello!

(50 secs reading text)


Problem:

There are 50 mice in a warehouse.
The owner of the warehouse hired a cat able to catch 80% of all mice.

How efficient is the cat, if it was put to catch mice,
first time in a saturday and other time a week after?

In HP50G:

Formula:
E = 1- (1- Eo)²
Where:
E, total efficiency
Eo, efficiency of the cat

Program:
≪CLEAR
"Enter Eo (cat efficace)" ""
INPUT OBJ→ → E0


'1-(1-E0)^2' →NUM



I just want to know if I am using the correct formula.
Is it the correct fomula?

Original problem also asks how much mice remains alive after the second week.
But this is there just to test the formula.

[Image: gato.jpg]


RE: Catching mice - twoweims - 12-13-2020 12:33 AM

That cat will catch ZERO mice! Smile


RE: Catching mice - Dave Frederickson - 12-13-2020 02:37 AM

(12-13-2020 12:33 AM)twoweims Wrote:  That cat will catch ZERO mice! Smile
That cat will eat ZERO mice (because it's the claws that catch).


RE: Catching mice - twoweims - 12-13-2020 03:13 AM

(12-13-2020 02:37 AM)Dave Frederickson Wrote:  
(12-13-2020 12:33 AM)twoweims Wrote:  That cat will catch ZERO mice! Smile
That cat will eat ZERO mice (because it's the claws that catch).
Not if he has to stay six feet away... Wink


RE: Catching mice - CMarangon - 12-13-2020 03:18 AM

I just want to know if the formula

E = 1- (1- Eo)²

is correct.


RE: Catching mice - twoweims - 12-13-2020 04:04 AM

I am very sorry for de-railing your post. I just could not resist...


RE: Catching mice - CMarangon - 12-13-2020 04:04 AM

The Cat Strikes Back.

Considering that the cat has an efficiency of 80%, in the first day it will catch 80% of the mice.
In the second day, a week after, it will catch (according to the program) 96% of the mice.

Remaining yet 2 mice alive.

More one time and it is about 100%.

Please see this video.






My original goal was to calculate how much percent a second dose of a vaccine (95% effective) will imunize a population,
but it is said that vaccines don't work that way.

According to my calculus a vaccine 95% effective will be 99.75% effective, considering the second dose.
But vaccine does not work this way.

Considering that a vaccine does not work this way, I converted the program to calculate the
efficiency of another things, like, for example, cats catching rats.:-)


RE: Catching mice - CMarangon - 12-13-2020 04:08 AM

(12-13-2020 04:04 AM)twoweims Wrote:  I am very sorry for de-railing your post. I just could not resist...

No problem.:-)
During this Covid's time we need to laugh a little.


This really deserves a population modeling program - striegel - 12-13-2020 05:48 PM

If that starting population of mice is split evenly between males and females then some portion of them are already pregnant and will deliver an increase if they escape capture the first day. It just keeps getting more complicated.

Alan


RE: Catching mice - CMarangon - 12-14-2020 12:08 AM

(12-13-2020 05:48 PM)striegel Wrote:  If that starting population of mice is split evenly between males and females then some portion of them are already pregnant and will deliver an increase if they escape capture the first day. It just keeps getting more complicated.

Alan

You included new variables in the event.
Indeed, a real event is more complex than a theoretical event.