forked from Anduin2017/HowToCook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43dafb7
commit 7deff0e
Showing
4 changed files
with
71 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 如何决策吃什么 | ||
|
||
如何决策吃什么也是我做菜之前一大难题。所以只能用数学描述一下了。 | ||
|
||
## 计算方法 | ||
|
||
### 计算荤菜和素菜数量 | ||
|
||
* 总菜数量 = 人数 + 1 | ||
* 荤菜数量 + 素菜数量 = 总菜数量 | ||
* 荤菜数量 - 素菜数量 <= 1 | ||
* 荤菜数量 - 素菜数量 >= 0 | ||
|
||
* 上述方程组中,荤菜数量、素菜数量、总菜数量皆为整数。 | ||
|
||
求解上述方程组,得到荤菜数量和素菜数量即可。 | ||
|
||
### 荤菜的选择 | ||
|
||
* 如果人数超过8人,考虑在荤菜中增加鱼类荤菜。 | ||
* 如果有小孩,考虑 | ||
|
||
## 附加标准 | ||
|
||
判断一个菜是否是荤菜的标准为:其所依赖的原材料中除了虾肉以外的肉类总质量是否超过 10% 。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 西红柿鸡蛋的做法 | ||
|
||
## 必备原料和工具 | ||
|
||
* 西红柿 | ||
* 鸡蛋 | ||
* 盐 | ||
* 糖 | ||
|
||
## 计算 | ||
|
||
注意,这道菜不提供一人版本。如果确定只有一个人食用,请在人数中代入2。 | ||
|
||
* 西红柿的数量 = 人数 * 0.9 向上取整。 | ||
* 鸡蛋的数量 = 西红柿的数量。 | ||
* 盐量 = 人数 * 4g。 | ||
* 糖量 = 人数 * 6g。 | ||
|
||
使用上述条件,计算出计划使用的原材料比例。 | ||
|
||
## 操作 | ||
|
||
* 西红柿取蒂。洗净,切成15g左右的小块。 | ||
* 将鸡蛋打入碗中。 | ||
* 热锅,加入人数 * 8ml油。 | ||
* 油热后,加入第2步的鸡蛋。翻炒20秒。 | ||
* 加入第1步的西红柿。翻炒10秒。 | ||
* 加入盐。加入糖。翻炒30秒。 | ||
* 出锅,盛盘。 | ||
|
||
## 附加内容 | ||
|
||
**请不要在这道菜中加醋!** | ||
|
||
如果您遵循本指南的制作流程而发现有问题或可以改进的流程,请提出Issue或Pull request。 |