% Required to support mathematical unicode \usepackage[warnunknown, fasterrors, mathletters]{ucs} % Always typeset math in display style \everymath{\displaystyle} % Use a larger font size \usepackage[fontsize=14pt]{scrextend} % Standard mathematical typesetting packages \usepackage{amsfonts, amsthm, amsmath, amssymb} \usepackage{mathtools} % Extension to amsmath % Symbol and utility packages \usepackage{cancel, textcomp} \usepackage[mathscr]{euscript} \usepackage[nointegrals]{wasysym} % Extras \usepackage{physics} \usepackage{color} \usepackage{microtype} \usepackage{tikz-among-us} \usepackage{tikzducks} \usepackage{listings} \usepackage{tcolorbox} % Symbol packages \usepackage{pifont} \usepackage{gensymb} \usepackage{pxfonts} \usepackage{tikzsymbols} \usepackage{romanbar} % Diagrams \usepackage{pgfplots} \usepackage{tkz-euclide} \usepackage{chemfig} \usepackage{circuitikz} \usepackage{tikz-cd} % Common shortcuts \def\mbb#1{\mathbb{#1}} \def\mfk#1{\mathfrak{#1}} \def\bN{\mbb{N}} \def\bC{\mbb{C}} \def\bR{\mbb{R}} \def\bQ{\mbb{Q}} \def\bZ{\mbb{Z}} % Sometimes helpful macros \newcommand{\func}[3]{#1\colon#2\to#3} \newcommand{\vfunc}[5]{\func{#1}{#2}{#3},\quad#4\longmapsto#5} \newcommand{\floor}[1]{\left\lfloor#1\right\rfloor} \newcommand{\ceil}[1]{\left\lceil#1\right\rceil} % Some standard theorem definitions \newtheorem{Theorem}{Theorem} \newtheorem{Proposition}{Theorem} \newtheorem{Lemma}[Theorem]{Lemma} \newtheorem{Corollary}[Theorem]{Corollary} \theoremstyle{definition} \newtheorem{Definition}[Theorem]{Definition} % Custom macros \newcommand{\redB}{\colorbox{red}{\textcolor{white}{\sffamily{\textbf{\Large{B}}}}}} \newcommand{\HypeTaco}{H\kern-0.1em\raisebox{0.3em}{\resizebox{0.5em}{!}{Y}}\kern-0.1emP\kern-0.175em\raisebox{-0.24em}{E}\kern-0.125emT\kern-0.2em\raisebox{0.3em}{\resizebox{0.5em}{!}{A}}\kern-0.15emC\kern-0.1em\raisebox{-0.24em}{O}} \def\inv#1{\if-#1\else-#1\fi} \newcommand{\quadform}[4][\pm]{\frac{\inv{#3} #1 \sqrt{\left(#3\right)^2 -4\left(#2\right)\left(#4\right)}}{2 \left(#2\right)}} \newcommand{\dvrules}{Power Rule $$\dv{x}x^n=nx^{n-1}$$ Product Rule $$\dv{x}f(x)\cdot g(x)=f'(x)\cdot g(x)+f(x)\cdot g'(x)$$ Quotient Rule $$\dv{x}\frac{f(x)}{g(x)}=\frac{g(x)\cdot f'(x)-g'(x)\cdot f(x)}{(g(x))^2}$$ Chain Rule $$\dv{x}f(g(x))=f'(g(x))\cdot g'(x)$$} \newcommand{\secsub}{\begin{tikzpicture}[thick] \node at (-2,2.5) {sec sub}; \coordinate (O) at (0,0); \coordinate (A) at (-4,0); \coordinate (B) at (0,2); \draw (O)--(A)--(B)--cycle; \tkzLabelSegment[below=2pt](O,A){$a$} \tkzLabelSegment[right=2pt](O,B){$\sqrt{x^2-a^2}$} \tkzLabelSegment[above=2pt,rotate=30](A,B){$x$} \tkzMarkRightAngle(B,O,A) \tkzMarkAngle[size=1.2cm, mark= ](O,A,B) \tkzLabelAngle[pos = 0.8](O,A,B){$\theta$} \end{tikzpicture}} \newcommand{\sinsub}{\begin{tikzpicture}[thick] \node at (-2,2.5) {sin sub}; \coordinate (O) at (0,0); \coordinate (A) at (-4,0); \coordinate (B) at (0,2); \draw (O)--(A)--(B)--cycle; \tkzLabelSegment[below=2pt](O,A){$\sqrt{a^2-x^2}$} \tkzLabelSegment[right=2pt](O,B){$x$} \tkzLabelSegment[above=2pt, rotate=30](A,B){$a$} \tkzMarkRightAngle(B,O,A) \tkzMarkAngle[size=1.2cm, mark= ](O,A,B) \tkzLabelAngle[pos = 0.8](O,A,B){$\theta$} \end{tikzpicture}} \newcommand{\tansub}{\begin{tikzpicture}[thick] \node at (-2,2.5) {tan sub}; \coordinate (O) at (0,0); \coordinate (A) at (-4,0); \coordinate (B) at (0,2); \draw (O)--(A)--(B)--cycle; \tkzLabelSegment[below=2pt](O,A){$a$} \tkzLabelSegment[right=2pt](O,B){$x$} \tkzLabelSegment[above=2pt, rotate=30](A,B){$\sqrt{a^2+x^2}$} \tkzMarkRightAngle(B,O,A) \tkzMarkAngle[size=1.2cm, mark= ](O,A,B) \tkzLabelAngle[pos = 0.8](O,A,B){$\theta$} \end{tikzpicture}} \newcommand{\trigsubs}{\raisebox{-8.5pt}{\sinsub}\tansub\secsub} % Plante demobox macro \ifnum\catcode`@=11 \let\next\relax \else \let\next\makeatother \fi \makeatletter \font\@finfo=cmtex8 at 6pt \def\finfo{\@finfo\baselineskip=8pt} \def\wd@{\wd\z@} \def\ht@{\ht\z@} \def\dp@{\dp\z@} \newdimen\demo@hmin \newif\ifdemo@wd \newif\ifdemo@ht \newif\ifdemo@dp \setbox\z@\hbox{$\braceld\braceru\bracelu\bracerd$} \demo@hmin\wd@ \long\def\demobox#1{\begingroup\demo@wdtrue\demo@httrue\demo@dptrue \quitvmode\setbox\z@\hbox\ifmmode \ifinner{$#1$}\else{$\displaystyle#1$}\fi \else{#1}\fi \demobox@frame } \def\demobox@frame{% \dimen@\dimexpr\ht@+\dp@\relax \ifdim\dimen@>\demo@hmin \kern4em \fi \rlap{\vbox{\hrule\hb@xt@\wd@{\vrule\@height\ht@\hss\vrule}\hrule}}% \ifdim\dp@>\z@ \rlap{\kern\z@\vbox to\z@{\hb@xt@\wd@{\vrule\@height\dp@\hss\vrule}\hrule\vss}}% \else \demo@dpfalse \fi \ifdim\wd@>\demo@hmin \demo@wdfalse \rlap{\raise\dimexpr1.2ex+\ht@\rlap{\hb@xt@\wd@{\downbracefill}}\raise\dimexpr2.4ex+\ht@\hb@xt@\wd@{\hss{\finfo\the\wd@}\hss}}% \fi\demobox@specs } \def\demobox@specs{% \ifdim\dimen@>\demo@hmin \llap{% {\finfo \lower\dp@\vbox to\dimen@{\vss \hbox{\the\ht@}% \ifdemo@dp \hbox{\llap{+}\the\dp@}\fi \vss}% \kern1.2ex}% \setbox\@ne\hb@xt@\dimen@{\downbracefill} \lower\dp@\hb@xt@\z@{\rotatebox{90}{\box\@ne}}% \kern1.4ex }% \demo@htfalse \demo@dpfalse \fi \copy\z@ \kern.2em \lower\dp@\vbox to\dimen@{\finfo \vss \ifdemo@wd \hbox{\hb@xt@1em{wd\hss}:\kern.2em\the\wd@} \fi \ifdemo@ht \hbox{\hb@xt@1em{ht\hss}:\kern.2em\the\ht@} \fi \ifdemo@dp \hbox{\hb@xt@1em{dp\hss}:\kern.2em\the\dp@} \fi \vss }\endgroup } \next % Tikz pics \tikzset{ sharingan/.pic={ \fill [red, pic actions] (0,0) circle (1); \draw [ultra thick] (0,0) circle (1); \draw [ultra thick] (0,0) circle (0.625); \fill (0,0) circle (0.125); \fill (0,0.625) circle (0.125); \fill (-0.541,-0.312) circle (0.125); \fill (0.541,-0.312) circle (0.125); \fill plot [smooth cycle] coordinates {(-0.1,0.7) (0,0.86) (-0.03,0.7463)}; \fill plot [smooth cycle] coordinates {(-0.541,-0.437) (-0.77,-0.39) (-0.641,-0.387)}; \fill plot [smooth cycle] coordinates {(0.666,-0.312) (0.675,-0.5) (0.636,-0.3932)}; } } \tikzset{ Ahaha/.pic={ \fill[inner color=yellow, outer color=yellow!50!orange] (11,9) circle (6); \draw [brown, ultra thick] (11,9) circle (6); \fill [inner color= brown, outer color= brown!80!black] plot [smooth cycle] coordinates {(7.2,10.25) (7.125,10.5) (8.5,10.6) (9.75,11) (9.8,10.75) (8.5,10.2)}; \fill [inner color= brown, outer color= brown!80!black] plot [smooth cycle] coordinates {(7.75,9.25) (8.875,9) (10,9.25) (9.75,8.75) (8.875, 8.6) (7.9,8.85)}; \fill [inner color= brown, outer color= brown!80!black] plot [smooth cycle] coordinates {(11.7,11.73) (11.7,11.9) (12.25,12) (13.5, 12) (15,11.4) (15,11.05) (13.7,11.5)}; \fill [inner color= brown, outer color= brown!80!black] (12.5,9.5) ellipse (0.75cm and 1cm); \fill [inner color= brown, outer color= brown!80!black] plot [smooth cycle] coordinates {(7.5,7.4) (11,7) (14,7.5) (13.75,6) (12.2,5) (10,6.2) (7.75,6.6)}; \fill [inner color=white, outer color = white!85!black] plot [smooth cycle] coordinates {(7.95, 6.75) (7.6,7.2) (11,6.8) (13.85,7.3) (13.8,6.75) (12.2,6.3)}; \fill [brown] plot [smooth cycle] coordinates {(9.1,6.5) (8.7,6.3) (8.9,5.85) (8.85,6.5)}; \fill [brown] plot [smooth cycle] coordinates {(9.8,6.4) (9.4,6.2) (9.6,5.75) (9.55,6.4)}; } }