At first one third of the class were boys. Then another boy joined the class. Now three out of eight of the class are boys how many students are in the class now? (Hint:There are fewer than 40 students in the class.)

b = c/3

b+1 = 3/8 (c+1)

b=5
c=15

check:
at first, there were 5 boys in a class of 15
6 boys is 3/8 of 16

To solve this problem, we can use algebraic reasoning. Let's assume the total number of students in the class is 'x'.

According to the problem, initially, one third of the class were boys, meaning (1/3)x students were boys. After another boy joined the class, the number of boys became (1/3)x + 1.

Now, three out of eight students are boys. So, we have the equation (3/8)x = (1/3)x + 1.

To find the value of 'x', we can solve this equation. Let's step through the solution.

1. Multiply through the equation by 24 to remove the denominators:
24 * (3/8)x = 24 * ((1/3)x + 1)
9x = 8x + 24

2. Subtract 8x from both sides of the equation:
9x - 8x = 8x - 8x + 24
x = 24

Therefore, there are 24 students in the class now.