#import "/src/lib.typ": ( cetz, choice-placeholder, exam, figure-style, fill-placeholder, oblique-project, plot, question, section, step, subquestion, ) #show: exam.with( subject: "数学", year: 2018, type: "普通高等学校招生全国统一考试", name: "全国三卷理科", source: "https://github.com/deekur/gaokaomath/blob/main/普通高考/2018/2018全国3理(云南,广西,贵州,西藏,四川).pdf", regions: ("云南", "广西", "贵州", "西藏", "四川"), ) #let tenon() = cetz.canvas(length: 9mm, { import cetz.draw: * set-style(stroke: figure-style.thickness) oblique-project((1, 0), (0.4, 0.4), (0, 1), { let a = (0, 0, 0) let b = (4, 0, 0) let c = (4, 2, 0) let d = (0, 2, 0) let aa = (0, 0, 1.6) let bb = (4, 0, 1.6) let cc = (4, 2, 1.6) let dd = (0, 2, 1.6) line(a, b, c, cc, dd, aa, a) line(aa, bb, cc) line(b, bb) line(a, d, c, stroke: (dash: figure-style.dash)) line(d, dd, stroke: (dash: figure-style.dash)) let e = (4, 0.5, 0.4) let f = (5.6, 0.5, 0.4) let g = (5.6, 1.5, 0.4) let h = (4, 1.5, 0.4) let ee = (4, 0.5, 1.2) let ff = (5.6, 0.5, 1.2) let gg = (5.6, 1.5, 1.2) let hh = (4, 1.5, 1.2) line(e, f, g, gg, hh, ee, e) line(ee, ff, gg) line(f, ff) line(e, h, g, stroke: (dash: figure-style.dash)) line(h, hh, stroke: (dash: figure-style.dash)) }) line((5.5, 3.1), (5.5, 1.6), mark: (end: ">")) content((5.65, 2.4), [俯视方向], anchor: "west") }) #let mortise(kind) = cetz.canvas(length: 10mm, { import cetz.draw: * set-style(stroke: figure-style.thickness) if kind == "D" { line( (0, 0), (4, 0), (4, 1.6), (0, 1.6), (0, 1.2), (1.6, 1.2), (1.6, 0.4), (0, 0.4), close: true, ) } else { rect((0, 0), (4, 1.6)) if kind == "C" { line((0, 0.8), (1.6, 0.8), (1.6, 0), stroke: (dash: figure-style.dash)) } else { line((0, 1.2), (1.6, 1.2), (1.6, 0.4), (0, 0.4), stroke: ( dash: if kind == "A" { figure-style.dash } else { "solid" }, )) } } }) #let quartic(kind) = cetz.canvas(length: 9mm, { import cetz.draw: * set-style(stroke: figure-style.thickness, axes: ( stroke: figure-style.thickness, padding: 0, overshoot: 0.12, shared-zero: $O$, tick: ( stroke: figure-style.thickness, minor-stroke: figure-style.thickness, ), x: (label: (anchor: "west", offset: 0.15)), y: (label: (anchor: "south", offset: 0.15)), )) plot.plot( size: (4.4, 4.4), axis-style: "school-book", x-min: -2, x-max: 2, y-min: -3.2, y-max: 3.2, x-tick-step: none, y-tick-step: none, x-ticks: (1,), y-ticks: (1,), x-label: $x$, y-label: $y$, { let f(x) = if kind == "A" { calc.pow(x, 4) - 2 } else if kind == "B" { calc.pow(x, 4) - x * x - 2 } else if kind == "C" { -calc.pow(x, 4) + 2 } else { -calc.pow(x, 4) + x * x + 2 } plot.add(f, domain: (-1.65, 1.65), style: ( stroke: (paint: black, thickness: figure-style.thickness), )) }, ) }) #let semicircle-solid(auxiliary: false) = cetz.canvas(length: 20mm, { import cetz.draw: * let a = (0, 2, 0) let b = (2, 2, 0) let c = (2, 0, 0) let d = (0, 0, 0) let m = if auxiliary { (1, 0, 1) } else { (1.5, 0, calc.sqrt(3) / 2) } let o = (1, 0, 0) let n = (1, 2, 0) oblique-project((1, 0), (-0.35, -0.35), (0, 1.3), { set-style(stroke: (thickness: figure-style.thickness, join: "round")) let arc-points = range(91).map(i => ( 1 + calc.cos(i * 2deg), 0, calc.sin(i * 2deg), )) line(..arc-points) line(d, a, b, c) line(a, m, b) line(d, m, c) line(d, c, stroke: (dash: figure-style.dash)) line(a, c, stroke: (dash: figure-style.dash)) if auxiliary { line(m, o, n, m, stroke: (dash: figure-style.dash)) content(o, $O$, anchor: "south-east", padding: 3pt) content(n, $N$, anchor: "north", padding: 3pt) } for (point, label, anchor) in ( (a, $A$, "north-east"), (b, $B$, "north-west"), (c, $C$, "west"), (d, $D$, "east"), (m, $M$, "south-west"), ) { content(point, label, anchor: anchor, padding: 3pt) } }) }) #let absolute-graph(answer: false) = cetz.canvas(length: 10mm, { import cetz.draw: * set-style(stroke: figure-style.thickness, axes: ( stroke: figure-style.thickness, padding: 0, overshoot: 0.12, shared-zero: $O$, tick: ( stroke: figure-style.thickness, minor-stroke: figure-style.thickness, ), grid: (stroke: (paint: luma(70%), thickness: figure-style.thickness)), x: (label: (anchor: "west", offset: 0.15)), y: (label: (anchor: "south", offset: 0.15)), )) plot.plot( size: (6, 8), axis-style: "school-book", x-min: -3, x-max: 3, y-min: -2, y-max: 6, x-tick-step: none, y-tick-step: none, x-ticks: range(-3, 4) .filter(x => x != 0) .map(x => (x, if x == 1 { $1$ } else { [] })), y-ticks: range(-2, 7) .filter(y => y != 0) .map(y => (y, if y == 1 { $1$ } else { [] })), x-grid: true, y-grid: true, x-label: $x$, y-label: $y$, { plot.annotate(resize: false, { if answer { line((-2, 6), (-0.5, 1.5), (1, 3), (2, 6)) content((-0.5, 1.5), $(-1/2,3/2)$, anchor: "east", padding: 4pt) content((1, 3), $(1,3)$, anchor: "west", padding: 4pt) } }) }, ) }) #let work-times() = table( columns: (auto, auto, auto), align: (right, center, left), stroke: none, table.vline(x: 1, stroke: figure-style.thickness), table.vline(x: 2, stroke: figure-style.thickness), [第一种生产方式], [], [第二种生产方式], table.hline(stroke: figure-style.thickness), [$8$], [$6$], [$5 quad 5 quad 6 quad 8 quad 9$], [$9 quad 7 quad 6 quad 2$], [$7$], [$0 quad 1 quad 2 quad 2 quad 3 quad 4 quad 5 quad 6 quad 6 quad 8$], [$9 quad 8 quad 7 quad 7 quad 6 quad 5 quad 4 quad 3 quad 3 quad 2$], [$8$], [$1 quad 4 quad 4 quad 5$], [$2 quad 1 quad 1 quad 0 quad 0$], [$9$], [$0$], ) #section[选择题:共 12 小题,每小题 5 分,共 60 分。在每小题给出的四个选项中,只有一项是符合题目要求的。] #question( "single-choice", score: 5, stem: [已知集合 $A={x|x-1>=0}$,$B={0,1,2}$,则 $A inter B=$#choice-placeholder()。], choices: ([${0}$], [${1}$], [${1,2}$], [${0,1,2}$]), answers: ([C],), explanation: [$A=[1,+infinity)$,∴ $A inter B={1,2}$。], ) #question( "single-choice", score: 5, stem: [$(1+i)(2-i)=$#choice-placeholder()。], choices: ([$-3-i$], [$-3+i$], [$3-i$], [$3+i$]), answers: ([D],), explanation: [$(1+i)(2-i)=2+i-i^2=3+i$。], ) #question( "single-choice", score: 5, stem: [中国古建筑借助榫卯将木构件连接起来,构件的凸出部分叫榫头,凹进部分叫卯眼,图中木构件右边的小长方体是榫头。若如图摆放的木构件与某一带卯眼的木构件咬合成长方体,则咬合时带卯眼的木构件的俯视图可以是#choice-placeholder()。 #figure(tenon())], choices: ( [#figure(mortise("A"))], [#figure(mortise("B"))], [#figure(mortise("C"))], [#figure(mortise("D"))], ), answers: ([A],), explanation: [卯眼从左侧开口,与榫头的位置对应,在俯视方向上被木构件的上表面遮挡,轮廓应画为虚线;凹槽位于宽度方向的中部,故选 A。], ) #question( "single-choice", score: 5, stem: [若 $sin alpha=1/3$,则 $cos 2alpha=$#choice-placeholder()。], choices: ([$8/9$], [$7/9$], [$-7/9$], [$-8/9$]), answers: ([B],), explanation: [$cos 2alpha=1-2sin^2 alpha=1-2/9=7/9$。], ) #question( "single-choice", score: 5, stem: [$(x^2+2/x)^5$ 的展开式中 $x^4$ 的系数为#choice-placeholder()。], choices: ([$10$], [$20$], [$40$], [$80$]), answers: ([C],), explanation: [通项为 $T_(r+1)=C_5^r (x^2)^(5-r)(2/x)^r=C_5^r 2^r x^(10-3r)$。令 $10-3r=4$,得 $r=2$,故系数为 $C_5^2 times 2^2=40$。], ) #question( "single-choice", score: 5, stem: [直线 $x+y+2=0$ 分别与 $x$ 轴、$y$ 轴交于 $A,B$ 两点,点 $P$ 在圆 $(x-2)^2+y^2=2$ 上,则 $triangle A B P$ 面积的取值范围是#choice-placeholder()。], choices: ( [$[2,6]$], [$[4,8]$], [$[sqrt(2),3sqrt(2)]$], [$[2sqrt(2),3sqrt(2)]$], ), answers: ([A],), explanation: [$A(-2,0)$、$B(0,-2)$,故 $|A B|=2sqrt(2)$。圆心 $(2,0)$ 到直线的距离为 $2sqrt(2)$,半径为 $sqrt(2)$,故 $P$ 到直线的距离 $d in [sqrt(2),3sqrt(2)]$。面积 $S=1/2 times 2sqrt(2)d in [2,6]$。], ) #question( "single-choice", score: 5, stem: [函数 $y=-x^4+x^2+2$ 的图象大致为#choice-placeholder()。], choices: ( [#figure(quartic("A"))], [#figure(quartic("B"))], [#figure(quartic("C"))], [#figure(quartic("D"))], ), answers: ([D],), explanation: [函数为偶函数,且 $f(0)=2>0$,排除 A、B。又 $f'(x)=2x(1-2x^2)$,在 $(0,sqrt(2)/2)$ 上为正,故原点右侧先递增,排除 C,选 D。], ) #question( "single-choice", score: 5, stem: [某群体中的每位成员使用移动支付的概率都为 $p$,各成员的支付方式相互独立。设 $X$ 为该群体的 10 位成员中使用移动支付的人数,$D X=2.4$,$P(X=4)
1/2$,故 $p=0.6$。],
)
#question(
"single-choice",
score: 5,
stem: [$triangle A B C$ 的内角 $A,B,C$ 的对边分别为 $a,b,c$,若 $triangle A B C$ 的面积为 $(a^2+b^2-c^2)/4$,则 $C=$#choice-placeholder()。],
choices: ([$pi/2$], [$pi/3$], [$pi/4$], [$pi/6$]),
answers: ([C],),
explanation: [由面积公式和余弦定理,$1/2 a b sin C=1/2 a b cos C$,故 $tan C=1$。∵ $0