\( \displaystyle \int_a^b \sin(x) \)
\( = \cos(x)^2 \)
\(\def\place#1#2#3{\smash{\rlap{\hskip{#1em}\raise{-#2em}{#3}}}}\)
\(\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{\scriptsize 0}}
\place{1}{0}{\boxed{\scriptsize 1}}
\place{2}{0}{\boxed{\scriptsize 1}}
\place{0}{1}{\boxed{\scriptsize 2}}
\place{0}{2}{\boxed{\scriptsize 3}}\hspace{3em}+\place{0}{0}{\boxed{1}}
\)