ubuntu2004
% generated by smc-sagews2pdf -- 2021-04-12 11:54:48.3871671% !TeX program = xelatex23\documentclass[4paper=A4,5pagesize,6fontsize=11pt,7%headings=small,8titlepage=false,9fleqn,10toc=flat,11bibliography=totoc, %totocnumbered,12index=totoc,13listof=flat]{scrartcl}14\usepackage{scrhack}15\setuptoc{toc}{leveldown}1617\usepackage[utf8x]{inputenc}18\usepackage[T1]{fontenc}19\usepackage{xltxtra} % xelatex2021\usepackage[22left=3cm,23right=2cm,24top=2cm,25bottom=2cm,26includeheadfoot]{geometry}27\usepackage[automark,headsepline,ilines,komastyle]{scrpage2}28\pagestyle{scrheadings}2930\usepackage{fixltx2e}3132\raggedbottom3334% font tweaks35\usepackage{ellipsis,ragged2e,marginnote}36\usepackage{inconsolata}37\renewcommand{\familydefault}{\sfdefault}38\setkomafont{sectioning}{\normalcolor\bfseries}39\setkomafont{disposition}{\normalcolor\bfseries}4041\usepackage{mathtools}42\mathtoolsset{showonlyrefs=true}43\usepackage{amssymb}44\usepackage{sfmath}4546\usepackage[USenglish]{babel}47\usepackage{etoolbox}48\usepackage{url}49\usepackage{hyperref}5051% use includegraphics directly, but beware, that this is actually ...52\usepackage{graphicx}53% ... adjust box! http://latex-alive.tumblr.com/post/8148140844954\usepackage[Export]{adjustbox}55\adjustboxset{max size={\textwidth}{0.7\textheight}}5657\usepackage{textcomp}58\def\leftqquote{``}\def\rightqqoute{''}59\catcode`\"=1360\def"{\bgroup\def"{\rightqqoute\egroup}\leftqquote}6162\makeatletter63\preto{\@verbatim}{\topsep=0pt \partopsep=0pt }64\makeatother6566\usepackage{color}67\definecolor{midgray}{rgb}{0.5,0.5,0.5}68\definecolor{lightyellow}{rgb}{1,1,.92}69\definecolor{dblackcolor}{rgb}{0.0,0.0,0.0}70\definecolor{dbluecolor}{rgb}{.01,.02,0.7}71\definecolor{dredcolor}{rgb}{1,0,0}72\definecolor{dbrowncolor}{rgb}{0.625,0.3125,0}73\definecolor{dgraycolor}{rgb}{0.30,0.3,0.30}74\definecolor{graycolor}{rgb}{0.35,0.35,0.35}7576\usepackage{listings}77\lstdefinelanguage{Sage}[]{Python}78{morekeywords={True,False,sage,singular},79sensitive=true}80\lstset{81showtabs=False,82showspaces=False,83showstringspaces=False,84commentstyle={\ttfamily\color{dbrowncolor}},85keywordstyle={\ttfamily\color{dbluecolor}\bfseries},86stringstyle ={\ttfamily\color{dgraycolor}\bfseries},87numberstyle ={\tiny\color{midgray}},88backgroundcolor=\color{lightyellow},89language = Sage,90basicstyle={\ttfamily},91extendedchars=true,92keepspaces=true,93aboveskip=1em,94belowskip=0.1em,95breaklines=true,96prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\backslash}},97%frame=single98}99100% sagemath macros101\newcommand{\Bold}[1]{\mathbb{#1}}102\newcommand{\ZZ}{\Bold{Z}}103\newcommand{\NN}{\Bold{N}}104\newcommand{\RR}{\Bold{R}}105\newcommand{\CC}{\Bold{C}}106\newcommand{\FF}{\Bold{F}}107\newcommand{\QQ}{\Bold{Q}}108\newcommand{\QQbar}{\overline{\QQ}}109\newcommand{\CDF}{\Bold{C}}110\newcommand{\CIF}{\Bold{C}}111\newcommand{\CLF}{\Bold{C}}112\newcommand{\RDF}{\Bold{R}}113\newcommand{\RIF}{\Bold{I} \Bold{R}}114\newcommand{\RLF}{\Bold{R}}115\newcommand{\CFF}{\Bold{CFF}}116\newcommand{\GF}[1]{\Bold{F}_{#1}}117\newcommand{\Zp}[1]{\ZZ_{#1}}118\newcommand{\Qp}[1]{\QQ_{#1}}119\newcommand{\Zmod}[1]{\ZZ/#1\ZZ}120121% mathjax has \lt and \gt122\newcommand{\lt}{<}123\newcommand{\gt}{>}124% also support HTML's ≤ and ≥125\newcommand{\lequal}{≤}126\newcommand{\gequal}{≥}127\newcommand{\notequal}{≠}128129% defining utf8 characters for listings130\lstset{literate=131{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1132{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1133{à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1134{À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1135{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1136{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1137{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1138{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1139{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1140{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1141{ã}{{\~a}}1 {Ã}{{\~A}}1 {õ}{{\~o}}1 {Õ}{{\~O}}1142{€}{{\EUR}}1 {£}{{\pounds}}1143}144145\title{Assignment Week 11}146\author{COMP 150}147\date{Spring, 2021}148\begin{document}149\maketitle150\begin{lstlisting}151# Your name here152\end{lstlisting}153\begin{lstlisting}154\end{lstlisting}155156{{An exponential function $f(x) = b^x$, where $b > 1$, is ``eventually bigger than'' a power function $g(x) = x^p$, where $p>0$. }}157158\begin{lstlisting}159\end{lstlisting}160161{{(1) Define the exponential function $f(x) = 2^x$ and the power function $g(x) = x^9$ in Sage for use throughout this assignment.}}162163164\begin{lstlisting}165\end{lstlisting}166167{{(2) What are the limits of $f(x)$ and $g(x)$ as $x$ approaches infinity? Use Sage to support your claim. Explain your work.}}168169170\begin{lstlisting}171\end{lstlisting}172173{{(3) Which function is larger at $x=0$? Use Sage to support your claim. Explain your work.}}174175176\begin{lstlisting}177\end{lstlisting}178179{{(4) At some $x$-value between 1 and 2, the exponential function is overtaken by the power function. Use Sage to support this claim. Use comments to explain your work and conclusions.}}180181182\begin{lstlisting}183\end{lstlisting}184185{{(5) At some $x$-value between 51 and 52 the functions intersect each other again. Use Sage to support this claim. Use comments to explain your work and conclusions.}}186187188\end{document}189%configuration={"latex_command":"xelatex -synctex=1 -interact=nonstopmode 'tmp.tex'"}190191192