40 percents of student are boys in a karate class.There are 18 fewer boys than girls.How many students are in a karate class altogether?

If there are s students,

b+g = s
b = 2/5 s
b = g-18
Now just find s

X girls,

x-18 boys,
40% are boys and 60% are girls,

X = 0.6(x + (x-18)),
X = 0.6*(2x-18),
X = 1.2x - 10.8,
X = 54 girls,

x-18 = 54 - 18 = 36 boys,

54 + 36 = 90 students.

simpler solution?

40% boys , 60% girls ... 20% or 1/5 difference

18 boys is 1/5 of class ... 90 students total

To find the total number of students in the karate class, we can follow these steps:

Step 1: Let's assume the number of boys in the karate class is "x".
Step 2: We know that 40% of the students are boys, so we can calculate that as (40/100) * T = x, where "T" is the total number of students.
Step 3: We are also given that there are 18 fewer boys than girls, so the number of girls would be (x + 18).
Step 4: Since the total number of students in the class is the sum of boys and girls, we have the equation: T = x + (x + 18).
Step 5: Simplifying the equation, we get: T = 2x + 18.

Now, we can substitute the value of "x" from step 2 into the equation in step 5.

T = 2x + 18 = 2 * ((40/100) * T) + 18
T = (80/100) * T + 18
T - (80/100) * T = 18
(20/100) * T = 18
T/5 = 18
T = 18 * 5
T = 90

Therefore, there are a total of 90 students in the karate class.