Final answer:
Kendra should have used a proportion to find the total number of students. By cross-multiplying 40/100 = 20/x, and solving for x, we find out there are 50 students in her class.
Step-by-step explanation:
Kendra made a mistake in her calculation to find out the total number of students in her class based on the percentage that earned an A on the math test.
To find the total number of students in her class, she should set up a proportion where 40 is to 100 as the number of students who got an A (20) is to the total number of students in the class (let's call this total number x). The correct proportion looks like 40/100 = 20/x.
To solve for x, we can cross-multiply to get 40x = 2000. Dividing both sides of the equation by 40 will give us x = 50. Therefore, there are 50 students in Kendra's class.