A Die is Thrown, Then Find the Probability of the Following Events - Algebra

A die is thrown, then find the probability of the following events:
A is an Event: getting an odd number on the top upper surface of the die.
B is an Event: getting a perfect square on the upper surface of the die.

Solution

When a die is thrown, the sample space (S) is given by
S = {1, 2, 3, 4, 5, 6}
∴n(S) = 6

Let A be the event of getting an odd number on the upper surface of the die.
Then A = {1, 3, 5}
∴n(A) = 3

thereforeP(A)=(n(A))/(n(s))

=3/6

=1/2

Let B be the event of getting a perfect square on the upper surface of the die.
Then B = {1, 4}

∴n(B)=2

P(B)=(n(B))/(n(S))

=2/6

=1/3

Concept: Basic Ideas of Probability
Is there an error in this question or solution?