The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
using factorial in probability question
09-27-2017, 02:31 AM
Post: #1
using factorial in probability question
software version 10024
hardware version C

I will update later -- calculator just purchased a few days ago

Problem: what is the probability of 2 people having the same birthday amongst 30 people???

Solution: 1 - 365! / ((365-30)!*365^30) = 0.706316

my answer on the HP Prime is +inf --- not good
in HOME the highest factorial I can get is 253! before it max out
in CAS the highest factorial I can get is 170! before I get +inft

in HOME 365! / 253! i get 0
365! / 252! i get 489.03

In CAS 365! / 252! i get a huge number several 100 digits long

how can I solve this problem on the HP Prime????
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
using factorial in probability question - resolved - 09-27-2017 02:31 AM



User(s) browsing this thread: 6 Guest(s)