Debian Codegraph @

texmf-dist/doc/latex/webquiz/examples/pstricks-ex.tex

raw
1 \documentclass[svgnames]{webquiz}
2 \usepackage{pst-all}
3 \newcommand\C{\mathbb{C}}
4 \title{A pstricks example}
5 \begin{document}
6 \begin{question}
7 The shaded region in the graph
8 \begin{center}
9 \begin{pspicture}[unit=0.6cm](-3,-1.5)(3,4)
10 \pscircle[linewidth=1pt,linestyle=dashed,
11 fillcolor=SkyBlue,fillstyle=solid](1,1){2}
12 \psaxes[linecolor=red,linewidth=1pt,labels=none]
13 {->}(0,0)(-1.5,-1.5)(3.5,3.5)
14 \rput(3.75,0){$x$} \rput(0,3.85){$iy$}
15 \rput(3,-0.4){3} \rput(-0.4,3){3$i$}
16 \psdots(1,1)
17 \end{pspicture}
18 \end{center}
19 is equal to which of the following sets of complex numbers?
20 \begin{choice}[columns=2]
21 \incorrect $\{z \in \C : (z-1)^{2}+(z-(i+1))^{2}<2\}$
22 \incorrect $\{z \in \C : z+(i+1)<2\}$
23 \correct $\{z \in \C : |z-(i+1)|<2\}$
24 \incorrect None of the above.
25 \end{choice}
26 \end{question}
27 \end{document}