20230129 afternoon

This commit is contained in:
WangWeiye 2023-01-29 17:01:34 +08:00
parent 79e5219d2d
commit 651beb5431
6 changed files with 22 additions and 22 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -11,7 +11,7 @@
"0" "0"
] ]
}, },
"execution_count": 9, "execution_count": 1,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -19,7 +19,7 @@
"source": [ "source": [
"import os,re,json\n", "import os,re,json\n",
"\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n", "\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n",
"problems = \"12759\"\n", "problems = \"12576\"\n",
"\n", "\n",
"def generate_number_set(string,dict):\n", "def generate_number_set(string,dict):\n",
" string = re.sub(r\"[\\n\\s]\",\"\",string)\n", " string = re.sub(r\"[\\n\\s]\",\"\",string)\n",
@ -51,7 +51,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 9,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 3,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -11,7 +11,7 @@
"0" "0"
] ]
}, },
"execution_count": 1, "execution_count": 3,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -21,7 +21,7 @@
"\n", "\n",
"\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n", "\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n",
"keywords_dict_table = [\n", "keywords_dict_table = [\n",
" {\"origin\":[r\"2025届\"],\"origin2\":[r\"校本\"]}\n", " {\"origin\":[r\"2023届宝山\"]}\n",
"]\n", "]\n",
"\"\"\"---关键字设置完毕---\"\"\"\n", "\"\"\"---关键字设置完毕---\"\"\"\n",
"# 示例: keywords_dict_table = [\n", "# 示例: keywords_dict_table = [\n",
@ -96,7 +96,7 @@
], ],
"metadata": { "metadata": {
"kernelspec": { "kernelspec": {
"display_name": "mathdept", "display_name": "pythontest",
"language": "python", "language": "python",
"name": "python3" "name": "python3"
}, },
@ -115,7 +115,7 @@
"orig_nbformat": 4, "orig_nbformat": 4,
"vscode": { "vscode": {
"interpreter": { "interpreter": {
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc" "hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93"
} }
} }
}, },

File diff suppressed because one or more lines are too long

View File

@ -2,16 +2,16 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"开始编译教师版本pdf文件: 临时文件/pudong_教师用_20230128.tex\n", "开始编译教师版本pdf文件: 临时文件/baoshan_教师用_20230129.tex\n",
"0\n", "0\n",
"开始编译学生版本pdf文件: 临时文件/pudong_学生用_20230128.tex\n", "开始编译学生版本pdf文件: 临时文件/baoshan_学生用_20230129.tex\n",
"0\n" "0\n"
] ]
} }
@ -26,14 +26,14 @@
"\"\"\"---设置题目列表---\"\"\"\n", "\"\"\"---设置题目列表---\"\"\"\n",
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n", "#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
"problems = r\"\"\"\n", "problems = r\"\"\"\n",
"12676:12696\n", "a\n",
"\n", "\n",
"\"\"\"\n", "\"\"\"\n",
"\"\"\"---设置题目列表结束---\"\"\"\n", "\"\"\"---设置题目列表结束---\"\"\"\n",
"\n", "\n",
"\"\"\"---设置文件名---\"\"\"\n", "\"\"\"---设置文件名---\"\"\"\n",
"#目录和文件的分隔务必用/\n", "#目录和文件的分隔务必用/\n",
"filename = \"临时文件/pudong\"\n", "filename = \"临时文件/baoshan\"\n",
"\"\"\"---设置文件名结束---\"\"\"\n", "\"\"\"---设置文件名结束---\"\"\"\n",
"\n", "\n",
"\n", "\n",

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [

View File

@ -311191,7 +311191,7 @@
}, },
"012576": { "012576": {
"id": "012576", "id": "012576",
"content": "某果园种植了$100$棵苹果树, 随机抽取的$12$棵果树的产量(单位: 千克)分别为: $$24,25,36,27,28,32,20,26,29,30,26,33$$据此预计, 该果园的总产量为千克以及第$75$百分位数为\\blank{50}千克.", "content": "某果园种植了$100$棵苹果树, 随机抽取的$12$棵果树的产量(单位: 千克)分别为: $$24,25,36,27,28,32,20,26,29,30,26,33$$据此预计, 该果园的总产量为\\blank{50}千克以及第$75$百分位数为\\blank{50}千克.",
"objs": [], "objs": [],
"tags": [ "tags": [
"第九单元" "第九单元"
@ -313515,7 +313515,7 @@
"第二单元" "第二单元"
], ],
"genre": "填空题", "genre": "填空题",
"ans": "$(-\\pi,-\\dfrac\\pi 2)$和$(0,\\dfrac\\pi 2)$", "ans": "$(-\\pi,-\\dfrac\\pi 2]$和$[0,\\dfrac\\pi 2]$",
"solution": "", "solution": "",
"duration": -1, "duration": -1,
"usages": [], "usages": [],
@ -315262,7 +315262,7 @@
"第二单元" "第二单元"
], ],
"genre": "填空题", "genre": "填空题",
"ans": "$(-\\infty,2)\\cup (5,+\\infty)$", "ans": "$(-\\infty,-2)\\cup (5,+\\infty)$",
"solution": "", "solution": "",
"duration": -1, "duration": -1,
"usages": [], "usages": [],
@ -315472,7 +315472,7 @@
"第七单元" "第七单元"
], ],
"genre": "解答题", "genre": "解答题",
"ans": "(1) $\\dfrac{x^2}{3c^2}+\\dfrac{y^2}{2c^2}=1$; (2) 证明略; (3) 证明略", "ans": "(1) 证明略; (2) 证明略",
"solution": "", "solution": "",
"duration": -1, "duration": -1,
"usages": [], "usages": [],
@ -315493,7 +315493,7 @@
"第二单元" "第二单元"
], ],
"genre": "解答题", "genre": "解答题",
"ans": "(1) $\\dfrac 12$; (2) 当$a=\\dfrac 12$时, 函数$y=g(x)$在$(0,+\\infty)$上是严格增函数; 当$a>\\dfrac 12$时, 函数$y=g(x)$在$(0,\\dfrac 1a]$和$[2,+\\infty)$上是严格增函数, 在$[\\dfrac 1a,2]$上是严格减函数; 当$0<a<\\dfrac 12$时, 函数$y=g(x)$在$(0,2]$和$[\\dfrac 1a,+\\infty)$上是严格增函数, 在$[2,\\dfrac 1a]$上是严格减函数; (3) $[-\\mathrm{e},+\\infty)$", "ans": "(1) $\\dfrac 12$; (2) 当$a=\\dfrac 12$时, 函数$y=g(x)$在$(0,+\\infty)$上是严格增函数; 当$a>\\dfrac 12$时, 函数$y=g(x)$在$(0,\\dfrac 1a]$和$[2,+\\infty)$上是严格增函数, 在$[\\dfrac 1a,2]$上是严格减函数; 当$0<a<\\dfrac 12$时, 函数$y=g(x)$在$(0,2]$和$[\\dfrac 1a,+\\infty)$上是严格增函数, 在$[2,\\dfrac 1a]$上是严格减函数; (3) $[-2\\mathrm{e}^2,+\\infty)$",
"solution": "", "solution": "",
"duration": -1, "duration": -1,
"usages": [], "usages": [],
@ -394143,7 +394143,7 @@
}, },
"030817": { "030817": {
"id": "030817", "id": "030817",
"content": "如图, 某地有三家工厂, 分别位于矩形$ABCD$的两个顶点$A$、$B$及$CD$的中点$P$处. $AB=20 \\text{km}, BC=10 \\text{km}$. 为了处理这三家工厂的污水, 现要在该矩形区域内 (含边界) 且与$A$、$B$等距的二点$O$处, 建造一个污水处理厂, 并铺设三条排污管道$AO, BO, PO$. 记铺设管道的总长度为$y \\text{km}$.\n\\begin{center}\n\\begin{tikzpicture}[>=latex]\n\\draw (0,0) node [left] {$A$} coordinate (A);\n\\draw (3,0) node [right] {$B$} coordinate (B);\n\\draw (3,1.5) node [right] {$C$} coordinate (C);\n\\draw (0,1.5) node [left] {$D$} coordinate (D);\n\\draw (1.5,0.75) node [below] {$O$} coordinate (O);\n\\draw ($(C)!0.5!(D)$) node [above] {$P$} coordinate (P);\n\\draw (A) -- (B) -- (C) -- (D) -- cycle (P) -- (O) (A) -- (O) -- (B);\n\\end{tikzpicture}\n\\end{center}\n(1) 设$\\angle BAO=\\theta$(弧度), 将$y$表示成$\\theta$的函数并求函数的定义域;\\\\\n(2)假设铺设的污水管道总长度是$(10+10 \\sqrt 3) \\text{km}$, 请确定污水处理厂的位置.", "content": "如图, 某地有三家工厂, 分别位于矩形$ABCD$的两个顶点$A$、$B$及$CD$的中点$P$处. $AB=20 \\text{km}, BC=10 \\text{km}$. 为了处理这三家工厂的污水, 现要在该矩形区域内 (含边界) 且与$A$、$B$等距的二点$O$处, 建造一个污水处理厂, 并铺设三条排污管道$AO, BO, PO$. 记铺设管道的总长度为$y \\text{km}$.\n\\begin{center}\n\\begin{tikzpicture}[>=latex]\n\\draw (0,0) node [left] {$A$} coordinate (A);\n\\draw (3,0) node [right] {$B$} coordinate (B);\n\\draw (3,1.5) node [right] {$C$} coordinate (C);\n\\draw (0,1.5) node [left] {$D$} coordinate (D);\n\\draw (1.5,0.75) node [below] {$O$} coordinate (O);\n\\draw ($(C)!0.5!(D)$) node [above] {$P$} coordinate (P);\n\\draw (A) -- (B) -- (C) -- (D) -- cycle (P) -- (O) (A) -- (O) -- (B);\n\\end{tikzpicture}\n\\end{center}\n(1) 设$\\angle BAO=\\theta$(弧度), 将$y$表示成$\\theta$的函数并求函数的定义域;\\\\\n(2) 假设铺设的污水管道总长度是$(10+10 \\sqrt 3) \\text{km}$, 请确定污水处理厂的位置.",
"objs": [], "objs": [],
"tags": [ "tags": [
"第三单元" "第三单元"