# Math quiz from a book [closed]

A student took some exams. The arithmetical average of his grades is 25. He takes another exam today and he gets a 30, so the arithmetical average of his grades becomes 26. How many exams did he take, including today’s one?

Edit: I know how to solve this, it’s from a book, I found it interesting and I posted it for you!

## closed as off-topic by Gareth McCaughan♦May 21 at 13:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

• sorry to close your question! Unfortunately we're quite strict around here about puzzles being puzzles rather than routine mathematics problems; this one is basically a matter of writing down an equation and solving it. Take a look at xnor's answer to the meta question linked in the close message, which lays out the key distinction very nicely. – Gareth McCaughan May 21 at 13:06
• @GarethMcCaughan don’t worry, I didn’t know. Thanks for telling me! – Marybnq May 21 at 14:40

5

Reason:

Let he gave n exams earlier Then total initial total=25n So new average=(25n+30)/(n+1)=26 Solving we get n=4, so he gave n+1=5 exams including today's

• Almost right... – Marybnq May 21 at 11:33
• This is correct; the question asks how many exams were taken, including today's. – Jeff Zeitlin May 21 at 11:49
• rot13: Lbh pbhyq nyfb tb nobhg guvf ol fnlvat gur qvssrerapr bs 5 rknz cbvagf tvirf n 1 cbvag nirentr vapernfr, fb 5/1 = ahzore bs rknzf. Unys n cbvag jbhyq or 5/0.5 = 10 rknzf, rgp. – mkinson May 21 at 12:03
• @JeffZeitlin exactly, be careful. – Marybnq May 21 at 12:39
• Just to let you know, it was 4 – Marybnq May 21 at 21:47

This question might be better fit on the Math Stack Exchange, but I will answer this anyway :)

We get

$$\frac{x+30}{y}=26$$ $$\frac{x}{y}=25$$ where $$x$$ is the total of his exams' results excluding today's exam, and $$y$$ is the number of exams.

We know that

$$\frac{x}{y}+\frac{30}{y}=25+\frac{30}{y}=26$$

Therefore

$$\frac{30}{y}=1$$

so

$$y=30$$

That's how many exams he took, including today's one.

• I know the solution, I found it challenging and I wanted to post it😅 – Marybnq May 21 at 11:31
• By the way it’s wrong, try again! – Marybnq May 21 at 11:31
• @Marybnq it is? Hmm.... – Mr Pie May 21 at 11:47
• Yes, try solving it keeping in mind the arithmetical average rule – Marybnq May 21 at 12:43
• That second fraction should be x / (y-1) as the previous average would not include today's exam – PunPun1000 May 21 at 19:51