Question: please use Octave to do thisDont use other programing language to answer this question. Do this carefully and clearly plz! The aim of this assignment

 please use Octave to do thisDont use other programing language toplease use Octave to do thisDont use other programing language to answer this question. Do this carefully and clearly plz!

The aim of this assignment is to implement the equation of the probability of finding a pair of people that share the same birthday described in the slide 15 of topic Basic Probability. For that purpose, your first task is to perform four implementations of the following equation |ACT P(A) = 1 - P(A) = 1 - 101 365 364 x ... (365 n +1) 365" in Julia, Python, R, and Octave. The second task will be to illustrate how does the number n of guests influence the probability of having guests with identical birthday. For that aim, you have to draw a curve to illustrate it using with each previous programming languages. II. Hint You need to use a loop for each programming language to compute P(A). In addition, since you will use different values of n to see its influence for P(A), you have to create a method that takes into parameter the number guests and returns the probability P(A)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!