Probability MAPLE CODING, UndergraduateProbability MAPLE CODINGFull Assignment to be done using MAPLE Coding. First line of code should have my student number which is 908069.Further…