\documentclass[11pt,b4j,dvipdfmx,landscape,twocolumn,papersize]{jsarticle}
% furikana.sty	http://xymtex.com/fujitas2/texlatex/index.html#tategumi
\usepackage{ascmac,bm,amssymb}
\usepackage[deluxe]{otf}
\usepackage{graphicx,color}
%\usepackage{qrcode}
%\usepackage[pdfpagemode=FullScreen,setpagesize=false]{hyperref}
%\usepackage[pdfstartview={XYZ null null 1.75},setpagesize=false]{hyperref}
\usepackage{hyperref,pxjahyper}
\usepackage{tikz}
%\usetikzlibrary{calc}
%\usetikzlibrary{intersections,patterns,angles,backgrounds,positioning}

%\AtBeginDvi{\special{pdf:pagesize width 364mm height 257mm}}
\textwidth=330truemm \textheight=226truemm \columnseprule=0pt
\topmargin=-24truemm \oddsidemargin=-8truemm

\hypersetup{% Oct 1 2023
	pdftitle={数学授業プリント},
	pdfauthor={gbb60166@gmail.com},
	pdfsubject={https://unilab.gbb60166.jp/math_ia/math_ia.htm}
	}

\newenvironment{nidan}{\begin{minipage}[t]{.225\textwidth}}{\end{minipage}}
%\def\nidangumi#1#2{\begin{nidan}{#1}\end{nidan}\quad%
%\begin{nidan}{#2}\end{nidan}}
\newcommand{\nidangumi}[2]{\begin{nidan}{#1}\end{nidan}\quad%
\begin{nidan}{#2}\end{nidan}}

% ■■■ 0より大きいときはdvipdfmxで印刷用PDFを作ることを想定（答えはプリント
% 下部に出力される）
%        0 のときはdvipdfmxでデジタル教材用PDFを作ることを想定（答えは問題の
% すぐ横に赤で出力され、後でOneNoteで黒く塗りつぶし）
\def\make_pdf_with_insatsu{1}

\everymath{\displaystyle}
\parindent=0zw \columnsep=3zw
\lineskiplimit=1ex \normallineskiplimit=\lineskiplimit 
\lineskip=\lineskiplimit \normallineskip=\lineskiplimit

\newcounter{toi} \newcounter{subtoi}[toi]
\newcounter{subsubtoi}[subtoi]

\def\toi{\refstepcounter{toi}\par          % 問
  \makebox[2zw][r]{\Large\ajKaku{\value{toi}}\hspace{0.5zw}}%
  \hangindent=2zw}

\def\subtoi{\refstepcounter{subtoi}\par    % 小問
  \makebox[3.4zw][r]{\ajKakko{\value{subtoi}}\hspace{1zw}}%
  \hangindent=3.4zw}

\def\subsubtoi{\refstepcounter{subsubtoi}\par    % 小小問
  \makebox[4.2zw][r]{\ajMaru{\value{subtoi}}\hspace{1zw}}%
  \hangindent=4.2zw}

\ifnum\make_pdf_with_insatsu>0
	\def\kotae#1{\relax}
\else
	\def\kotae#1{\hfill \textcolor{red}{\footnotesize\gtfamily\bfseries\(\boldsymbol{#1} \)}}
\fi

\newcommand{\Slash}[1]{\ooalign{\hfil\kern-0.2em／\hfil\crcr$#1$}}
\pagestyle{empty}

\makeatletter
\def\hooklen#1#2{\settowidth{\@tempdima}{\(#1\)}
%\advance\@tempdima by.3ex
% ↑ 数式モードで式の前後に入るスペースを制御したかったが、
%    難しいのでやめた。段々難解なコードになっているのでやめた方がよい？
\hbox to\@tempdima{\hfil \(#2\)\hfil}}
\newcommand{\myleqq}{\mathrel{\mathpalette\gl@align<}}
\newcommand{\mygeqq}{\mathrel{\mathpalette\gl@align>}}
\newcommand{\gl@align}[2]{\lower.6ex\vbox{\baselineskip\z@skip\lineskip\z@
	\ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr}}}
\makeatother


% ■ >0のときは「例？」「問？」の図形を表示する。
%そうでなければ表示しない（説明しながら書き込むことを想定している）
\def\DisplayToiFig{0}

\begin{document}
%
%  ===========================以下本文===============================
%
\def\namae{%
{\Large\gtfamily\bfseries 数学I \quad 授業プリント \# 34 （改変）}\hfill
年\hskip8ex 組\hskip8ex 号 \hskip5ex

\hfill 
\underline{氏名\rule[-2ex]{0cm}{6ex}\hskip30ex}}

\namae

%\vskip-2ex

\def\arraystretch{1.5}
\def\mb#1{\makebox[3ex]{#1}}

\def\siki{y=-x^2-4x+7}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=-2 \ ,\quad 頂点 (-2,11)}


\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-7,0) -- (1,0);
\draw[->](0,-7) -- (0,13);
\foreach \x in {-6,...,0}{\foreach \y in {-6,...,12}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(1,-0.3) node {$x$};
\draw(-0.3,13) node {$y$};
\draw(-5,-0.3) node {$-5$};
\draw(-0.3,5) node {$5$};
\draw(-0.3,10) node {$10$};
\draw(-0.3,-5) node {$-5$};
\ifnum\DisplayToiFig>0
	\foreach \x in {-6,...,-1}{%
		\fill[red](\x,{-(\x)^2-4*\x+7}) circle(4pt);
	}
	\draw[red,very thick](-6.1,{-(-6.1)^2-4*(-6.1)+7})
		parabola bend (-2,11) (0.8,{-(0.8)^2-4*(0.8)+7});
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}


%\vfill
\vskip10zh



\def\siki{y=(x-1)^2-7}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=1 \ ,\quad 頂点 (1,-7)}


\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-3,0) -- (4,0);
\draw[->](0,-8) -- (0,4);
\foreach \x in {-2,...,3}{\foreach \y in {-7,...,3}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(4,-0.3) node {$x$};
\draw(-0.3,4) node {$y$};
%\draw(-0.3,1) node {$1$};
\draw(-0.3,-5) node {$-5$};
%\draw(-0.3,10) node {$10$};
\ifnum\DisplayToiFig>0
	\foreach \x in {-2,...,3}{%
		\fill[red](\x,{(\x-1)^2-7}) circle(4pt);
	}
	\draw[red,very thick](-2.2,{(-2.2-1)^2-7})
		parabola bend (1,-7) (3.5,{(3.5-1)^2-7});
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}

%\vfill

%\ifnum\make_pdf_with_insatsu=0  \vfill \fi
\vfill

\ifnum\make_pdf_with_insatsu>0
	\rotatebox{180}{{\normalsize\gtfamily\bfseries プリント\#34}\scriptsize
	{\normalsize\ajKaku{5}}~
	\( 軸x=2\quad 頂点(2,1)\quad 通る点 10,5,2,1,2,5 \)
	{\normalsize\ajKaku{6}}~
	\( x=-1 \quad (-1,8) \quad 0,6,8,6,0,-10 \)
	{\normalsize\ajKaku{7}}~
	\( x=2 \quad (2,-4) \quad 14,4,-2,-4,-2,4 \)
	{\normalsize\ajKaku{8}}~
	\( x=2 \quad (2,0) \quad 25,16,9,4,1,0,1,4 \)
	}
\fi


\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\siki{y=x^2-10x+22}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=5 \ ,\quad 頂点 (5,-3)}


	\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-1,0) -- (10,0);
\draw[->](0,-4) -- (0,16);
\foreach \x in {0,...,9}{\foreach \y in {-3,...,15}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(10,-0.3) node {$x$};
\draw(-0.3,16) node {$y$};
\draw(-0.3,5) node {$5$};
\draw(-0.3,10) node {$10$};
\draw(-0.3,15) node {$15$};
\draw(5,-0.3) node {$5$};
\ifnum\DisplayToiFig>0
	\foreach \x in {2,...,9}{%
		\fill[red](\x,{(\x)^2-10*\x+22}) circle(4pt);
	}
	\draw[red,very thick]({5-3*sqrt(2)},15)
		parabola bend (5,-3) ({5+3*sqrt(2)},15);
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}

%\vfill
\vskip10zh



\def\siki{y=2\,(x-1)^2+3}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=1 \ ,\quad 頂点 (1,3)}



	\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-4,0) -- (4,0);
\draw[->](0,-2) -- (0,22);
\foreach \x in {-3,...,3}{\foreach \y in {-1,...,21}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(4,-0.3) node {$x$};
\draw(-0.3,22) node {$y$};
%\draw(-0.3,1) node {$1$};
\draw(-0.3,5) node {$5$};
\draw(-0.3,10) node {$10$};
\draw(-0.3,15) node {$15$};
\draw(-0.3,20) node {$20$};
\ifnum\DisplayToiFig>0
	\foreach \x in {-2,...,3}{%
		\fill[red](\x,{2*(\x-1)^2+3}) circle(4pt);
	}
	\draw[red,very thick](-2.05,{2*(-2.05-1)^2+3})
		parabola bend (1,3) (3.5,{2*(3.5-1)^2+3});
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}

%\vfill

\ifnum\make_pdf_with_insatsu=0  \vfill \fi


\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\siki{y=x^2-4x+5}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=2 \ ,\quad 頂点 (2,1)}



	\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-2,0) -- (5,0);
\draw[->](0,-2) -- (0,12);
\foreach \x in {-1,...,4}{\foreach \y in {-1,...,11}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(5,-0.3) node {$x$};
\draw(-0.3,12) node {$y$};
\draw(-0.3,5) node {$5$};
\draw(-0.3,10) node {$10$};
\ifnum\DisplayToiFig>0
	\foreach \x in {-1,...,4}{%
		\fill[red](\x,{(\x)^2-4*\x+5}) circle(4pt);
	}
	\draw[red,very thick](-1.2,{(-1.2)^2-4*(-1.2)+5})
		parabola bend (2,1) (4.5,{(4.5)^2-4*4.5+5});
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}

%\vfill
\vskip10zh



\def\siki{y=-2\,(x+1)^2+8}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=-1 \ ,\quad 頂点 (-1,8)}



	\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-4,0) -- (4,0);
\draw[->](0,-11) -- (0,11);
\foreach \x in {-3,...,3}{\foreach \y in {-10,...,10}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(4,-0.3) node {$x$};
\draw(-0.3,11) node {$y$};
%\draw(-0.3,1) node {$1$};
\draw(-0.3,5) node {$5$};
\draw(-0.3,10) node {$10$};
\draw(-0.3,-5) node {$-5$};
\draw(-0.3,-10) node {$-10$};
\ifnum\DisplayToiFig>0
	\foreach \x in {-3,...,2}{%
		\fill[red](\x,{-2*(\x+1)^2+8}) circle(4pt);
	}
	\draw[red,very thick](-3.5,{-2*(-3.5+1)^2+8})
		parabola bend (-1,8) (2.05,{-2*(2.05+1)^2+8});
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}

%\vfill


\ifnum\make_pdf_with_insatsu=0  \vfill \fi


\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\siki{y=2x^2-8x+4}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=2 \ ,\quad 頂点 (2,-4)}



	\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-2,0) -- (5,0);
\draw[->](0,-6) -- (0,16);
\foreach \x in {-1,...,4}{\foreach \y in {-5,...,15}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(5,-0.3) node {$x$};
\draw(-0.3,16) node {$y$};
%\draw(-0.3,1) node {$1$};
\draw(-0.3,5) node {$5$};
\draw(-0.3,10) node {$10$};
\draw(-0.3,15) node {$15$};
\draw(-0.3,-5) node {$-5$};
\ifnum\DisplayToiFig>0
	\foreach \x in {-1,...,4}{%
		\fill[red](\x,{2*(\x)^2-8*\x+4}) circle(4pt);
	}
	\draw[red,very thick](-1,14)
		parabola bend (2,-4) (4,4);
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}

\vfill
%\vskip10zh



\def\siki{y=(x-2)^2}
\toi \( \siki \) のグラフをかきなさい。また、その軸と頂点を答えなさい。\\
\kotae{軸 x=2 \ ,\quad 頂点 (2,0)}



	\mbox{}\hfill
\begin{tikzpicture}[scale=0.3, >=stealth, baseline=(current bounding box.north)]
\tiny
\draw[->](-4,0) -- (5,0);
\draw[->](0,-2) -- (0,26);
\foreach \x in {-3,...,4}{\foreach \y in {-1,...,25}{\fill (\x,\y) circle (2pt);}}
\draw(-0.4,-0.4) node {O};
\draw(5,-0.3) node {$x$};
\draw(-0.3,26) node {$y$};
%\draw(-0.3,1) node {$1$};
\draw(-0.3,5) node {$5$};
\draw(-0.3,10) node {$10$};
\draw(-0.3,15) node {$15$};
\draw(-0.3,20) node {$20$};
\draw(-0.3,25) node {$25$};
\ifnum\DisplayToiFig>0
	\foreach \x in {-3,...,4}{%
		\fill[red](\x,{(\x-2)^2}) circle(4pt);
	}
	\draw[red,very thick](-3,25)
		parabola bend (2,0) (4,4);
\fi
\end{tikzpicture}
	\hspace*{2zw}\mbox{}


%\vfill


\ifnum\make_pdf_with_insatsu=0  \vfill \fi


\ifnum\make_pdf_with_insatsu>0
	\hspace*{-0.5\textwidth}
	\rotatebox{180}{{\normalsize\gtfamily\bfseries プリント\#34}\scriptsize
	{\normalsize\ajKaku{1}}~
	\( 軸x=-2 \quad 頂点(-2,11) \quad -5,2,7,10,11,10 \)
	{\normalsize\ajKaku{2}}~
	\( x=1 \quad (1,-7) \quad 2,-3,-6,-7,-6,-3 \)
	{\normalsize\ajKaku{3}}~
	~\( x=5 \quad (5,-3) \quad 6,1,-2,-3,-2,1,6,13 \)
	{\normalsize\ajKaku{4}}~
	\( x=1 \quad (1,3) \quad 21,11,5,3,5,11 \)
	}
\fi



\end{document}
