The heavens begin to realize the Tao and become gods from the divine carving

Chapter 281 The Mathematical Problem of Rice Grains Filling the Chessboard

Chapter 281 The Mathematical Problem of Rice Grains Filling the Chessboard

This time Guo Xiang and Guo Polu also came, after dinner, Jiang Feng and Yuyan took them to play.

Jiang Chen and his group came to the imperial garden to drink tea, eat snacks, and chat.

Guo Jing sat down and turned on the teaching mode again, mainly telling him to be a good emperor, he listened humbly.

"Husband, stop chattering. Chen'er is the emperor now, and he knows how to govern the country better than us. You can see from what he has done in the past two years that he is a good emperor who loves the people like his own son."

"I forgot, it was a bit overstepped."

"It's okay, I will remember the teachings of Master and Mistress in my heart."

"In the past, I was very angry that you wanted to join the court, but now I see that you have regained the lost land in the north, pacified the Mongolian country, and now you have pacified the Manchus, and the life of ordinary people in the country is getting better and better. I am very relieved. It is also the reason why I am willing to come to the palace."

"Now I am only making some achievements, and there is still a big gap from my ideal. There is a long way to go, and I dare not slack off."

"Don't put too much pressure on yourself. After all, the country's prosperity cannot be achieved in a day or two."

…………

While admiring the flowers, several people talked about the important affairs of their family and country, and unknowingly talked about Feng'er and Xiang'er's baby kiss.

Seeing them having a good time not far away, maybe they will really be together.

Xiao Longnv was dragged by Cheng Ying and the others to play mahjong. Xiao Longnv was pure-hearted, and playing mahjong seemed not suitable for her.

In the days to come, Guo Jing and his wife lived in the palace.

There are many rules in the palace, but Jiang Chen did not follow the rules, such as address in private, etiquette when facing the emperor, and some life taboos.

Jiang Chen is the least emperor in history.

Jiang Chen is advocating a democratic country. Although there is no so-called true equality, at least everyone thinks that they have the same value as everyone else.

In the early morning of this day, officials from the Ministry of Rites said that there were Persian envoys to pay tribute.

Jiang Chen received him.

"Long live His Majesty the Celestial Dynasty!"

"Be flat."

"This time, on behalf of the King of Persia, I will offer [-] cattle and sheep each, a box of pearls and agates, and ten Persian beauties..."

The Persian envoys brought a lot of things, but Jiang Chen knew that these foreign countries were willing to pay tribute, because the rewards from the Celestial Dynasty were more, so it would be of great benefit to pay tribute to the Celestial Dynasty.

Jiang Chen accepted the tribute.

"I have seen the sincerity of Persia, I don't know what reward you want."

It was expected by everyone that Jiang Chen said this, the so-called coming and not going is indecent, how could my celestial magnanimity not be rewarded.

"Your Majesty, we don't want heavy rewards, we just need food."

"Then how much food do you want?"

I saw that the Persian envoy asked someone to take out a Go board.

"Your Majesty the Emperor only needs to put one grain of rice on the first grid, two grains of rice on the second grid, and four grains of rice on the third grid. The size of the grid is doubled, and all 64 grids are filled."

All civil and military officials didn't take it seriously when they heard the words of the envoys, that's it!They thought how much food they wanted, these Persian envoys were so stupid, they wished the emperor would agree immediately.

And the Persian envoy also expected Jiang Chen to agree immediately.

But Jiang Chen looked at them with a mocking face.

"We can't agree to this rude request!"

Hearing Jiang Chen's words, everyone was very surprised, such a request is considered rude, isn't it stupid, hurry up and agree.

The Persian envoy was also taken aback, wondering if he had seen through it.

"Ministers, do you feel that their requirements are very low? Then, please do the math. One grain in the first grid, two grains in the second grid, and twice as much as the previous grid. How many grains of rice do you need to fill up 64 grids?"

When Jiang Chen said this, many ministers began to calculate in their hearts...

All the ministers counted for a long time, and everyone counted to the tenth square, and they couldn't go any further. Some ministers asked them to take out their abacus and paper to calculate, but they still couldn't calculate the time for a cup of tea.

The more you count, the more you will sweat on your head, because the data is already very large.

Python calculates the story of placing meters on the chessboard

log in
weixin_39589394
Following
Python calculates the story of placing rice on the chessboard_The story of enlarging rice grains in 64 grids on the chessboard

2020-12-08 20: 32: 48
2 likes
weixin_39589394
code age 4 years

Following
An emperor's daughter unfortunately fell into the water and was rescued by a farmer. The emperor asked the farmer what he wanted in return for saving his daughter.The farmer pointed to a chess board next to him and said to the emperor: You put one grain of rice on the first grid, two grains on the second grid, four grains on the third grid, and four grains on the fourth grid. Put 2 grains in the grid, and so on, the number of rice grains in each grid is twice that of the previous grid.Just put the 3 grids in this way, I want so many rice grains.After hearing this, the emperor felt that the farmer's request was easy to satisfy, so he agreed with a smile.But a wise minister told the emperor that even if all the rice produced in Germany was brought in, these 4 grids would not be able to be filled...  

This is a middle school mathematics problem, that is, the problem of "summation of geometric series".

How many grains of rice should be placed in the 64 grids on the chessboard?In fact, it is easy to calculate: suppose the sum of rice grains in 64 grids is S, then
S=1+2+4+8+……+263 (1)
(The 64th item on the right side of the equal sign is 2 to the 63rd power)
We multiply both sides of the equal sign in (1) by 2, and the equation still holds:
2S=2+4+8+……+263+264 (2)
(等号右边第63和64项分别是2的63和64次方)
The right side of the equation (2) from the first item to the 63rd item is exactly the same as the right side of the equation (1) from the second item to the 64th item, so we subtract Going to both sides of the equal sign in (2), the equation still holds and becomes:
S=264-1 (3)
That is to say, there are 64 grids of rice on the chessboard, which have as many grains as "2 to the 64th power minus 1", that is, 18 grains.

Someone has used an electronic scale to measure that there are about 52000 grains in one kilogram of rice.

Then it will be 2814 billion tons!

"Don't worry about it, everyone. The answer is... You said that so much food is not enough for the whole country to give them. How long will it take to pay it off. This is a matter of arithmetic, and it is beyond everyone's understanding."

Everyone looked at the Persian envoys and couldn't help being a little angry. They were really cunning and greedy. If they promised, they couldn't fulfill it, which would damage the integrity of the country.

"Bold Persian envoys dare to tease me. In order to punish your mistakes, no rewards will be given this time. You will not be allowed to stay in the palace tomorrow when you go back."

The Persian envoys had nothing to say when they were exposed. They didn't expect that the emperor of this dynasty would be so smart.

They can only be smart and be misled by their cleverness. They originally thought that no one in the Celestial Dynasty would know the inside story, but who would have known that this trick would be easily exposed by the emperor.

They can only leave in discouragement, but how to explain to the country after returning.

All civil and military officials admired Jiang Chen's intelligence, if the emperor was not wise and wise, then their situation would be difficult.

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like