David Rodenas PhD
1 min readJul 27, 2023

--

Hi Matloob,

Try the new add-on with python in it ;)

(But, in one of the steps... it got wrong, but the right result, did it copy the solution?)

---

Sure, let's solve this problem step by step.

Let's denote the total number of pages in the book as \( x \).

According to the problem, you read:

1. 30 pages on Monday

2. 1/8 of the book on Tuesday

3. The remaining 1/4 of the book on Wednesday

That means the sum of the pages you read each day is equal to the total number of pages in the book, \( x \). So we can write the equation as follows:

\[

30 + \frac{1}{8}x + \frac{1}{4}x = x

\]

First, we'll simplify the right side of the equation by adding the fractions. Since the denominators are the same, we just add the numerators:

\[

\frac{1}{8}x + \frac{1}{4}x = \frac{1+2}{8}x

\]

Then, we can subtract \(30\) from both sides of the equation to isolate \(x\) on one side.

Let's calculate.

Running python...

After simplifying the equation, we get:

\[

x = 48

\]

Solving the equation gives us \( x = 48 \).

So, the book has 48 pages.

---

--

--

David Rodenas PhD
David Rodenas PhD

Written by David Rodenas PhD

Passionate software engineer & storyteller. Sharing knowledge to advance our skills. Join me on a journey of discovery in the world of software engineering.

No responses yet