首页 / 热门案例 / Reddit 热帖

牛吃草问题

Reddit r/manim 热榜第 4 位 · 发布 2026-11-03 · 收录于 2026-11-04
导读:中文帖:用 Manim 动画讲经典'牛吃草'(牛顿牧场)问题——草在生长、牛在吃的双变化率应用题。用 ValueTracker 让两个速率同时变起来即可复刻,适合与《Updater 与 ValueTracker》一章配套练习。
前往 Reddit 热帖 原页 ↗著作权与完整内容归原作者所有,本站做中文收录与导读

原帖内容

牛吃草问题

Cow Eating Grass Problem (Classic Rate Problem)

The “cow eating grass” problem that deals with **changing quantities** — specifically, grass that continues to grow while being eaten.

Typical Problem Statement

There is a pasture where grass grows at a constant rate.

- If 10 cows graze on it, the grass will be completely eaten in 20 days.

- If 15 cows graze on it, the grass will be completely eaten in 10 days.

**Question:** How many cows are needed to eat all the grass in 5 days?

(Or other variations: How many days will it take for a certain number of cows? What is the daily growth rate of the grass? etc.)

### Core Idea

The total amount of grass consists of two parts:

  1. The grass that is already present at the beginning.

  2. The new grass that grows every day.

While the cows are eating, the grass keeps growing. Therefore, the problem cannot be solved by simple division — it requires setting up equations that account for both the **consumption rate** of the cows and the **growth rate** of the grass.

General Approach

Let:

- \( x \) = initial amount of grass

- \( y \) = daily growth of grass

- \( c \) = amount one cow eats per day

Then for different numbers of cows and days, you can form equations such as:

\[

x + 20y = 10 \times 20 \times c

\]

\[

x + 10y = 15 \times 10 \times c

\]

Solving the system gives the relationship between growth and consumption, which can then be used to answer further questions.

This type of problem trains students to model real-world situations where quantities are changing simultaneously, and is a classic example of **linear equations with rates**.

submitted by /u/Top-Ad1044
[link] [comments]

想自己做出这类动画?

配合站内中文教程:示例代码速查 · 入门教程 · 3b1b 复刻系列。遇到环境问题先查安装报错全解。