#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浙江.pdf", regions: ("浙江",), ) #let views() = cetz.canvas(length: 10mm, { import cetz.draw: * set-style(stroke: figure-style.thickness) rect((0, 3.5), (2, 5.5)) line((1, 3.5), (1, 5.5)) rect((3.5, 3.5), (5.5, 5.5)) line((0, 2), (2, 2), (2, 0), (1, 0), close: true) for (p, label) in ( ((0.5, 3.2), $1$), ((1.5, 3.2), $1$), ((2.3, 4.5), $2$), ((4.5, 3.2), $2$), ((1, 2.7), [正视图]), ((4.5, 2.7), [侧视图]), ((1, -0.4), [俯视图]), ) { content(p, label) } }) #let option-graph(index) = cetz.canvas(length: 8mm, { import cetz.draw: * set-style(axes: ( stroke: figure-style.thickness, padding: 0, overshoot: 0.12, shared-zero: $O$, tick: (stroke: figure-style.thickness), )) plot.plot( size: (5, 4), axis-style: "school-book", x-min: -3.8, x-max: 3.8, y-min: -6.5, y-max: 6.5, x-label: $x$, y-label: $y$, x-tick-step: none, y-tick-step: none, x-ticks: ((-calc.pi, $-pi$), (calc.pi, $pi$)), { plot.add( x => { let t = calc.abs(x) if index == 0 { 2 * t * calc.sin(t * 1rad) } else if index == 1 { calc.pow(2, t) * calc.sin(2 * t * 1rad) } else if index == 2 { 2 * t * calc.sin(x * 1rad) } else { calc.pow(2, t) * calc.sin(2 * x * 1rad) } }, domain: (-3.25, 3.25), samples: 240, style: (stroke: (paint: black, thickness: figure-style.thickness)), ) }, ) }) #let polyhedron() = cetz.canvas(length: 12mm, { import cetz.draw: * let a = (0, -calc.sqrt(3), 0) let b = (1, 0, 0) let c = (0, calc.sqrt(3), 0) let a1 = (0, -calc.sqrt(3), 4) let b1 = (1, 0, 2) let c1 = (0, calc.sqrt(3), 1) oblique-project((0, -0.35), (0.9, 0), (0, 1), { set-style(stroke: (thickness: figure-style.thickness, join: "round")) line(a, b, c, c1, a1, a) line(a1, b1, c1) line(a, b1, b) line(a, c, stroke: (dash: figure-style.dash)) line(a, c1, stroke: (dash: figure-style.dash)) for (p, label, anchor) in ( (a, $A$, "north-east"), (b, $B$, "north"), (c, $C$, "north-west"), (a1, $A_1$, "south-east"), (b1, $B_1$, "south-west"), (c1, $C_1$, "west"), ) { content(p, label, anchor: anchor, padding: 3pt) } }) }) #let parabola() = 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$, )) let p = (-0.6, 0.6) let r = calc.sqrt(2 * (p.at(1) * p.at(1) - 4 * p.at(0))) let u = p.at(1) + r let v = p.at(1) - r let a = (u * u / 4, u) let b = (v * v / 4, v) let m = ((a.at(0) + b.at(0)) / 2, p.at(1)) plot.plot( size: (5.2, 6.8), axis-style: "school-book", x-min: -1.8, x-max: 3.4, y-min: -3.4, y-max: 3.4, x-label: $x$, y-label: $y$, x-tick-step: none, y-tick-step: none, { plot.add( t => (t * t / 4, t), domain: (-3.1, 3.1), style: (stroke: (paint: black, thickness: figure-style.thickness)), ) plot.annotate({ line(p, a, b, close: true) line(p, m) for (pos, label, anchor) in ( (p, $P$, "east"), (a, $A$, "south"), (b, $B$, "north-east"), (m, $M$, "west"), ) { content(pos, label, anchor: anchor, padding: 3pt) } }) }, ) }) #section[选择题:本大题共 10 小题,每小题 4 分,共 40 分。每小题只有一个选项符合题目要求。] #question( "single-choice", score: 4, stem: [已知全集 $U={1,2,3,4,5}$,$A={1,3}$,则 $complement_U A=$#choice-placeholder()。], choices: ([$emptyset$], [${1,3}$], [${2,4,5}$], [${1,2,3,4,5}$]), answers: ([C],), explanation: [从 $U$ 中去掉属于 $A$ 的元素 $1,3$,得 ${2,4,5}$。], ) #question( "single-choice", score: 4, stem: [双曲线 $x^2/3-y^2=1$ 的焦点坐标是#choice-placeholder()。], choices: ( [$(-sqrt(2),0),(sqrt(2),0)$], [$(-2,0),(2,0)$], [$(0,-sqrt(2)),(0,sqrt(2))$], [$(0,-2),(0,2)$], ), answers: ([B],), explanation: [焦点在 $x$ 轴上,且 $c=sqrt(3+1)=2$,故焦点为 $(-2,0),(2,0)$。], ) #question( "single-choice", score: 4, stem: [某几何体的三视图如图所示(单位:$"cm"$),则该几何体的体积(单位:$"cm"^3$)是#choice-placeholder()。#figure(views())], choices: ([$2$], [$4$], [$6$], [$8$]), answers: ([C],), explanation: [几何体为高 $2$ 的直四棱柱,底面是上、下底分别为 $1,2$,高为 $2$ 的直角梯形。故体积为 $1/2(1+2) times 2 times 2=6$。], ) #question( "single-choice", score: 4, stem: [复数 $2/(1-i)$($i$ 为虚数单位)的共轭复数是#choice-placeholder()。], choices: ([$1+i$], [$1-i$], [$-1+i$], [$-1-i$]), answers: ([B],), explanation: [$2/(1-i)=1+i$,其共轭复数为 $1-i$。], ) #question( "single-choice", score: 4, stem: [函数 $y=2^(|x|) sin 2x$ 的图象可能是#choice-placeholder()。], choices: ( [#figure(option-graph(0))], [#figure(option-graph(1))], [#figure(option-graph(2))], [#figure(option-graph(3))], ), answers: ([D],), explanation: [函数为奇函数,排除 A、B。在 $(pi/2,pi)$ 上,$sin 2x<0$,故函数值为负,排除 C,选 D。], ) #question( "single-choice", score: 4, stem: [已知平面 $alpha$,直线 $m,n$ 满足 $m subset.not alpha$,$n subset alpha$,则“$m parallel n$”是“$m parallel alpha$”的#choice-placeholder()。], choices: ( [充分不必要条件], [必要不充分条件], [充分必要条件], [既不充分也不必要条件], ), answers: ([A],), explanation: [由线面平行的判定定理,$m parallel n$ 可推出 $m parallel alpha$。反之,$m parallel alpha$ 时,$m,n$ 还可能异面,故为充分不必要条件。], ) #question( "single-choice", score: 4, stem: [设 $0
0$)上,$bold(b)$ 的终点在圆 $(x-2)^2+y^2=1$ 上。圆心 $(2,0)$ 到这两条射线的距离均为 $sqrt(3)$,且垂足位于射线内部,故最小距离为 $sqrt(3)-1$。],
)
#question(
"single-choice",
score: 4,
stem: [已知 $a_1,a_2,a_3,a_4$ 成等比数列,且 $a_1+a_2+a_3+a_4=ln(a_1+a_2+a_3)$。若 $a_1>1$,则#choice-placeholder()。],
choices: (
[$a_1a_2$。],
)
#section[填空题:本大题共 7 小题,多空题每小题 6 分,单空题每小题 4 分,共 36 分。]
#question(
"fill-in",
score: 6,
stem: [我国古代数学著作《张邱建算经》中记载百鸡问题:“今有鸡翁一,值钱五;鸡母一,值钱三;鸡雏三,值钱一。凡百钱,买鸡百只,问鸡翁、母、雏各几何?”设鸡翁、鸡母、鸡雏个数分别为 $x,y,z$,则 $cases(x+y+z=100, 5x+3y+1/3 z=100)$。当 $z=81$ 时,$x=$#fill-placeholder(),$y=$#fill-placeholder()。],
answers: ([$8$], [$11$]),
explanation: [代入得 $x+y=19$,$5x+3y=73$,解得 $x=8,y=11$。],
)
#question(
"fill-in",
score: 6,
stem: [若 $x,y$ 满足约束条件 $cases(x-y>=0, 2x+y<=6, x+y>=2)$,则 $z=x+3y$ 的最小值是#fill-placeholder(),最大值是#fill-placeholder()。],
answers: ([$-2$], [$8$]),
explanation: [可行域为顶点 $(1,1),(2,2),(4,-2)$ 构成的三角形,三个顶点处 $z$ 分别为 $4,8,-2$,故最小值为 $-2$,最大值为 $8$。],
)
#question(
"fill-in",
score: 6,
stem: [在 $triangle A B C$ 中,角 $A,B,C$ 所对的边分别为 $a,b,c$。若 $a=sqrt(7),b=2,A=60 degree$,则 $sin B=$#fill-placeholder(),$c=$#fill-placeholder()。],
answers: ([$sqrt(21)/7$], [$3$]),
explanation: [正弦定理给出 $sin B=(b sin A)/a=sqrt(21)/7$。余弦定理给出 $7=4+c^2-2c$,因 $c>0$,解得 $c=3$。],
)
#question(
"fill-in",
score: 4,
stem: [二项式 $(root(3, x)+1/(2x))^8$ 的展开式的常数项是#fill-placeholder()。],
answers: ([$7$],),
explanation: [通项为 $C_8^r 2^(-r)x^((8-4r)/3)$。令 $8-4r=0$,得 $r=2$,故常数项为 $C_8^2/4=7$。],
)
#question(
"fill-in",
score: 6,
stem: [已知 $lambda in RR$,函数 $f(x)=cases(x-4 & quad x>=lambda, x^2-4x+3 & quad x