From 8e6a6d23d3cf376d6496fa9b89ce1bc2a75d0b25 Mon Sep 17 00:00:00 2001 From: WangWeiye Date: Thu, 16 Mar 2023 12:49:28 +0800 Subject: [PATCH] 20230316 noon --- 工具/修改题目数据库.ipynb | 6 +++--- 工具/寻找tex文件中未赋答案的题目.ipynb | 3 ++- 工具/讲义生成.ipynb | 8 ++++---- 题库0.3/Problems.json | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/工具/修改题目数据库.ipynb b/工具/修改题目数据库.ipynb index 92ab8f7f..90719ef1 100644 --- a/工具/修改题目数据库.ipynb +++ b/工具/修改题目数据库.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -11,7 +11,7 @@ "0" ] }, - "execution_count": 3, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -19,7 +19,7 @@ "source": [ "import os,re,json\n", "\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n", - "problems = \"31310\"\n", + "problems = \"31329\"\n", "\n", "def generate_number_set(string,dict):\n", " string = re.sub(r\"[\\n\\s]\",\"\",string)\n", diff --git a/工具/寻找tex文件中未赋答案的题目.ipynb b/工具/寻找tex文件中未赋答案的题目.ipynb index 6f096bbf..cb0a71d6 100644 --- a/工具/寻找tex文件中未赋答案的题目.ipynb +++ b/工具/寻找tex文件中未赋答案的题目.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -402,6 +402,7 @@ "高三下学期测验01.tex\n", "高三下学期测验02.tex\n", "高三下学期测验03.tex\n", + "高三下学期测验04.tex\n", "高三下学期测验05.tex\n", "高三下学期周末卷01.tex\n", "高三下学期周末卷02.tex\n", diff --git a/工具/讲义生成.ipynb b/工具/讲义生成.ipynb index 937dbece..8329ee9e 100644 --- a/工具/讲义生成.ipynb +++ b/工具/讲义生成.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 5, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -15,9 +15,9 @@ "题块 2 处理完毕.\n", "正在处理题块 3 .\n", "题块 3 处理完毕.\n", - "开始编译教师版本pdf文件: 临时文件/高三下学期测验04_教师_20230314.tex\n", + "开始编译教师版本pdf文件: 临时文件/高三下学期测验04_教师_20230316.tex\n", "0\n", - "开始编译学生版本pdf文件: 临时文件/高三下学期测验04_学生_20230314.tex\n", + "开始编译学生版本pdf文件: 临时文件/高三下学期测验04_学生_20230316.tex\n", "0\n" ] } @@ -35,7 +35,7 @@ "\"\"\"---设置题块编号---\"\"\"\n", "\n", "problems = [\n", - "\"14743:14754\",\"14755:14758\",\"14759:14763\"\n", + "\"31311:31322\",\"31323:31326\",\"31327:31331\"\n", "]\n", "\n", "\"\"\"---设置结束---\"\"\"\n", diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index e0ed1a44..116933f2 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -440767,7 +440767,7 @@ }, "031329": { "id": "031329", - "content": "雨天外出虽然有撑雨伞, 时常却总免不了淋湿衣袖、裤脚、背包等, 小明想通过数学建模的方法研究如何撑伞可以让淋湿的面积尽量小. 为了简化问题小明做出下列假设:\\\\\n假设 1: 在网上查阅了人均身高和肩宽的数据后, 小明把人假设为身高、肩宽分别为$170 \\text{cm}$、$40 \\text{cm}$的矩形``纸片人'';\\\\\n假设 2: 受风的影响, 雨滴下落轨迹视为与水平地面所成角为$60^{\\circ}$的直线;\\\\\n假设 3: 伞柄$OT$长为$60 \\text{cm}$, 可绕矩形``纸片人''上点$O$旋转;\\\\\n假设 4: 伞面为被伞柄$OT$垂直平分的线段$AB$, $AB=120 \\text{cm}$.\\\\\n以如图$1$方式撑伞矩形``纸片人''将淋湿``裤脚''; 以如图$2$方式撑伞矩形``纸片人''将淋湿``头和肩膀''(``裤脚''也会有一小部分被淋湿).\n\\begin{center}\n\\begin{tikzpicture}[>=latex,scale = 0.7]\n\\begin{scope}\n\\clip (-3,0) rectangle (3,6);\n\\draw (0,0) -- (0,3.4) -- (0.8,3.4) node [below right] {$O$} coordinate (O) -- (0.8,0);\n\\draw (O) --++ (60:1.2) node [above right] {$T$} coordinate (T);\n\\draw (T) --++ (150:1.2) node [left] {$A$} coordinate (A);\n\\draw (T) --++ (-30:1.2) node [right] {$B$} coordinate (B);\n\\draw (A) ++ (60:1) --++ (60:-15);\n\\draw (B) ++ (60:1) --++ (60:-15);\n\\end{scope}\n\\draw (-3,0) -- (3,0);\n\\end{tikzpicture}\n\\begin{tikzpicture}[>=latex,scale = 0.7]\n\\begin{scope}\n\\clip (-3,0) rectangle (3,6);\n\\draw (0,0) -- (0,3.4) -- (0.8,3.4) node [below right] {$O$} coordinate (O) -- (0.8,0);\n\\draw (O) --++ (20:1.2) node [above right] {$T$} coordinate (T);\n\\draw (T) --++ (110:1.2) node [left] {$A$} coordinate (A);\n\\draw (T) --++ (-70:1.2) node [right] {$B$} coordinate (B);\n\\draw (A) ++ (60:1) --++ (60:-15);\n\\draw (B) ++ (60:1) --++ (60:-15);\n\\end{scope}\n\\draw (-3,0) -- (3,0);\n\\end{tikzpicture}\n\\begin{tikzpicture}[>=latex,scale = 0.7]\n\\begin{scope}\n\\clip (-3,0) rectangle (3.5,6);\n\\draw (0,0) -- (0,3.4) -- (0.8,3.4) node [below right] {$O$} coordinate (O) -- (0.8,0);\n\\draw (O) --++ (39.09484:1.2) node [above right] {$T$} coordinate (T);\n\\draw (T) --++ (129.09484:1.2) node [left] {$A$} coordinate (A);\n\\draw (T) --++ ({39.09484-90}:1.2) node [right] {$B$} coordinate (B);\n\\draw (A) ++ (60:1) --++ (60:-15);\n\\draw (B) ++ (60:1) --++ (60:-15);\n\\end{scope}\n\\draw (-3,0) -- (3,0);\n\\end{tikzpicture}\n\\end{center}\n(1) 如图$3$在矩形``纸片人''上身恰好不被淋湿时, 求其``裤脚''被淋湿 (阴影) 部分的面积(结果精确到$0.1 \\text{cm}^2)$;\\\\\n(2) 请根据你的生活经验对小明建立的数学模型提两条改进建议. (无需求解改进后的模型, 如果建议超过两条仅对前两条评分)", + "content": "雨天外出虽然有撑雨伞, 时常却总免不了淋湿衣袖、裤脚、背包等, 小明想通过数学建模的方法研究如何撑伞可以让淋湿的面积尽量小. 为了简化问题小明做出下列假设:\\\\\n假设 1: 在网上查阅了人均身高和肩宽的数据后, 小明把人假设为身高、肩宽分别为$170 \\text{cm}$、$40 \\text{cm}$的矩形``纸片人'';\\\\\n假设 2: 受风的影响, 雨滴下落轨迹视为与水平地面所成角为$60^{\\circ}$的直线;\\\\\n假设 3: 伞柄$OT$长为$60 \\text{cm}$, 可绕矩形``纸片人''上点$O$旋转;\\\\\n假设 4: 伞面为被伞柄$OT$垂直平分的线段$AB$, $AB=120 \\text{cm}$.\\\\\n以如图$1$方式撑伞矩形``纸片人''将淋湿``裤脚''; 以如图$2$方式撑伞矩形``纸片人''将淋湿``头和肩膀''(``裤脚''也会有一小部分被淋湿).\n\\begin{center}\n\\begin{tikzpicture}[>=latex,scale = 0.7]\n\\begin{scope}\n\\clip (-3,0) rectangle (3,6);\n\\draw (0,0) -- (0,3.4) -- (0.8,3.4) node [below right] {$O$} coordinate (O) -- (0.8,0);\n\\draw (O) --++ (60:1.2) node [above right] {$T$} coordinate (T);\n\\draw (T) --++ (150:1.2) node [left] {$A$} coordinate (A);\n\\draw (T) --++ (-30:1.2) node [right] {$B$} coordinate (B);\n\\draw (A) ++ (60:1) --++ (60:-15);\n\\draw (B) ++ (60:1) --++ (60:-15);\n\\end{scope}\n\\draw (-3,0) -- (3,0);\n\\draw (0,0) node [below] {图$1$};\n\\end{tikzpicture}\n\\begin{tikzpicture}[>=latex,scale = 0.7]\n\\begin{scope}\n\\clip (-3,0) rectangle (3,6);\n\\draw (0,0) -- (0,3.4) -- (0.8,3.4) node [below right] {$O$} coordinate (O) -- (0.8,0);\n\\draw (O) --++ (20:1.2) node [above right] {$T$} coordinate (T);\n\\draw (T) --++ (110:1.2) node [left] {$A$} coordinate (A);\n\\draw (T) --++ (-70:1.2) node [right] {$B$} coordinate (B);\n\\draw (A) ++ (60:1) --++ (60:-15);\n\\draw (B) ++ (60:1) --++ (60:-15);\n\\end{scope}\n\\draw (-3,0) -- (3,0);\n\\draw (0,0) node [below] {图$2$};\n\\end{tikzpicture}\n\\begin{tikzpicture}[>=latex,scale = 0.7]\n\\begin{scope}\n\\clip (-3,0) rectangle (3.5,6);\n\\filldraw [gray!50] (0.62586,0) -- (0.8,0) -- (0.8,0.3016) -- cycle;\n\\draw (0,0) -- (0,3.4) -- (0.8,3.4) node [below right] {$O$} coordinate (O) -- (0.8,0);\n\\draw (O) --++ (39.09484:1.2) node [above right] {$T$} coordinate (T);\n\\draw (T) --++ (129.09484:1.2) node [left] {$A$} coordinate (A);\n\\draw (T) --++ ({39.09484-90}:1.2) node [right] {$B$} coordinate (B);\n\\draw (A) ++ (60:1) --++ (60:-15);\n\\draw (B) ++ (60:1) --++ (60:-15);\n\\end{scope}\n\\draw (-3,0) -- (3,0);\n\\draw (0,0) node [below] {图$3$};\n\\end{tikzpicture}\n\\end{center}\n(1) 如图$3$在矩形``纸片人''上身恰好不被淋湿时, 求其``裤脚''被淋湿 (阴影) 部分的面积(结果精确到$0.1 \\text{cm}^2)$;\\\\\n(2) 请根据你的生活经验对小明建立的数学模型提两条改进建议. (无需求解改进后的模型, 如果建议超过两条仅对前两条评分)", "objs": [], "tags": [], "genre": "",