use quarto, not Pluto to render pages

This commit is contained in:
jverzani committed 2022-07-24 16:38:24 -04:00
1 parent 93c993206a
commit 7b37ca828c
879 files changed
+793311 -2678

No files matched your search

@@ -0,0 +1,15 @@
{
"hash": "cabd15423593ce51a818fa1f90b495d2",
"result": {
"markdown": "# Polynomials\n\n\n\nIn this section we use the following add-on packages:\n\n``` {.julia .cell-code}\nusing SymPy\nusing Plots\n```\n\n\n\n\n---\n\n\nPolynomials are a particular class of expressions that are simple enough to have many properties that can be analyzed. In particular, the key concepts of calculus: limits, continuity, derivatives, and integrals are all relatively trivial for polynomial functions. However, polynomials are flexible enough that they can be used to approximate a wide variety of functions. Indeed, though we don't pursue this, we mention that `Julia`'s `ApproxFun` package exploits this to great advantage.\n\n\nHere we discuss some vocabulary and basic facts related to polynomials and show how the add-on `SymPy` package can be used to model polynomial expressions within `SymPy`. `SymPy` provides a Computer Algebra System (CAS) for `Julia`. In this case, by leveraging a mature `Python` package [SymPy](https://www.sympy.org/). Later we will discuss the `Polynomials` package for polynomials.\n\n\nFor our purposes, a *monomial* is simply a non-negative integer power of $x$ (or some other indeterminate symbol) possibly multiplied by a scalar constant. For example, $5x^4$ is a monomial, as are constants, such as $-2=-2x^0$ and the symbol itself, as $x = x^1$. In general, one may consider restrictions on where the constants can come from, and consider more than one symbol, but we won't pursue this here, restricting ourselves to the case of a single variable and real coefficients.\n\n\nA *polynomial* is a sum of monomials. After combining terms with same powers, a non-zero polynomial may be written uniquely as:\n\n\n\n$$\na_n x^n + a_{n-1}x^{n-1} + \\cdots a_1 x + a_0, \\quad a_n \\neq 0\n$$\n\n::: {.cell cache='true' hold='true' execution_count=4}\n\n::: {.cell-output .cell-output-display execution_count=5}\n```{=html}\n<div class=\"d-flex justify-content-center\"> <figure> <img src=\"data:image/gif;base64,R0lGODlhAANAAvcBAAAAAAD/AAEBAQQEBAUFBQgICAqf+QsLCw0NDQ2f+Q+g+RAQEBERERGh+RMTExSi+RZQdBaj+RcXFxgZGRgiJxhMbBmk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Pr2DDih1LtqxZs3EAdOpICACCFy9+XURVAEANcgsdATjA48xAclscCABAeASqgpCGXAAw5azjx5AjS55MmWzatRxXIOCWkdWBAkEA4ECn8AiAXAWJASDh5hKkJQAI1DLY7sKByrhz697Nu7dvgpc7HliRMRYCBq7wnRFNGmELAvgKcgOFdeDyIweHCPD2u7v37+DD6//e1cVIFVD6AB0a6AqPsmdsjkTV92uPlSFO/oAjSA5Pp3iENHFEHNwNdNk1bhyxxCFMLcRKF/jtgZdAl+ABgAZ44FHJQRX2QlA2eABSnT61IHCBhwL9IUAQ7SBEAgINqebBQbA9I96NOOao444tRTIAAB6AAEAaDswoEBsA0LGAABecoI9qTK7AwIXEDKQMAEfgUMALGlyYjIEA4CFBAR78uIRC+GwR2woTADABik5MOQADDGBnUC8FaFDgPaE5MtAuDqRgI0GZFDDEOwe92NAvABBnUI08RirppJRWitAzBziAGn0TDGCkPkgSEIc6+uB1DSD76SPPHwAEYSUAA8j/kI0++ORhF5gEuMGUNCcA4EpCbb0gDa2ACAACogIB8MJCgGAZHR0AOEEQKpekWtAulyhzkAYONPTFkAdBAUCVlpZr7rno5oYkHgS19SmSNjCkXYFXnkbQDAAIpU9aQxCkVx4JeSDALgQNAcCGyS67UBIAAFILASNMWJE3AziqEChMFlgQGQBkku7HIIcsck46APDlQNkAORCSgBz0DCiEZIiDvfpc6Line truncated
"supporting": [
"polynomial_files/figure-html"
],
"filters": [],
"includes": {
"include-in-header": [
"<script src=\"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js\" integrity=\"sha512-c3Nl8+7g4LMSTdrm621y7kf9v3SDPnhxLNhcjFJbKECVnmZHTdo+IRO05sNLTH/D3vA6u1X32ehoLC7WFVdheg==\" crossorigin=\"anonymous\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js\" integrity=\"sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==\" crossorigin=\"anonymous\"></script>\n<script type=\"application/javascript\">define('jquery', [],function() {return window.jQuery;})</script>\n"
]
}
}
}