{"id":90,"date":"2013-08-11T21:00:00","date_gmt":"2013-08-11T21:00:00","guid":{"rendered":"https:\/\/jasoncantarella.com\/wordpress\/?page_id=90"},"modified":"2022-08-04T21:29:59","modified_gmt":"2022-08-05T01:29:59","slug":"math-4500","status":"publish","type":"page","link":"https:\/\/jasoncantarella.com\/wordpress\/courses\/math-4500\/","title":{"rendered":"Math 4500: Numerical Analysis I"},"content":{"rendered":"<p>Welcome to the homepage for Numerical Analysis (Math 4500\/6500)! I will post all the homework assignments for the course on this page. Our text for the course is Cheney and Kincaid, <em>Numerical Mathematics and Computing<\/em>\u00a0(seventh edition). If you want to save money and <a href=\"http:\/\/www.amazon.com\/gp\/offer-listing\/0495114758\/ref=sr_1_1_up_1_main_olp?s=books&amp;ie=UTF8&amp;qid=1376357247&amp;sr=1-1&amp;condition=used\">get the 6th edition<\/a> for a lot less money, you&#8217;ll be fine. During Spring 2020, the class meets twice a week at 12:30-1:45 TR in Boyd 322. Office hours are <strong>Wednesday 2-5pm in Boyd 448.<\/strong><\/p>\n<p>Numerical analysis is the art and science of doing mathematics with a computer. This is where you can start to bridge the gap between the formal mathematics that you have learned so far and the mixture of mathematics, statistics, and computation you&#8217;ll need for a 21st century job such as <a href=\"https:\/\/algorithms-tour.stitchfix.com\/\">working for the algorithms group at StitchFix.<\/a><\/p>\n<p>To be really prepared for an industry job, this is the <em>first<\/em> class in a series which should include<\/p>\n<p>MATH 4500 and MATH 4600 (taken together or in either order)<\/p>\n<p>MATH 4510<\/p>\n<p>MATH 4900 (Optimization with Prof. Hu, Fall 2019)<\/p>\n<p>and<\/p>\n<p>MATH 4900 (Learning from Data with Prof. Adams, Spring 2020)<\/p>\n<p>or<\/p>\n<p>MATH 4050 (Advanced Linear Algebra with Prof. Wang, Spring 2021)<\/p>\n<p>In this class, we will learn the fundamentals of numerical mathematics, covering the basics of numerical arithmetic, finding the roots of equations, and numerical differentiation and integration. We&#8217;ll then jump ahead to\u00a0<\/p>\n<p><em>Mathematica<\/em> will be an integral part of the course. Current UGA students can get a copy for your laptop or home computer free of charge by visiting the EITS page <a href=\"https:\/\/eits.uga.edu\/hardware_and_software\/software\/mathematica\/\">here<\/a>. \u00a0Some of the homework assignments and projects will require you to write <em>Mathematica<\/em> programs, and you&#8217;ll be completing most of the <a href=\"https:\/\/www.wolfram.com\/wolfram-u\/an-elementary-introduction-to-the-wolfram-language\/\">Introduction to the Wolfram Language online course<\/a>. Here are some brief notes on <a href=\"https:\/\/jasoncantarella.com\/downloads\/mathematica_programming_slideshow.nb\">Mathematica Programming<\/a>.\u00a0<\/p>\n<h2>Syllabus and Policies<\/h2>\n<p><span style=\"line-height: 1.6em;\">Please examine the\u00a0<a href=\"https:\/\/jasoncantarella.com\/downloads\/syllabus4500.pdf\">course syllabus<\/a>. If you think you can get by with this copy, save a tree! Don&#8217;t print it out.\u00a0 Please subscribe to <a href=\"https:\/\/calendar.google.com\/calendar?cid=YmswZWY1Y21qOTE4MWx2YjhwOXE2OHZrdW9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ\">the course Google calendar<\/a>. <\/span><span style=\"line-height: 1.6em;\">The course syllabus lists the various policies for the course (don&#8217;t miss the attendance policy).<\/span><\/p>\n<h2>Lecture Notes<\/h2>\n<p><span style=\"line-height: 1.6em;\">Here are links to my lecture notes for the course. Each lecture is usually accompanied by one or more\u00a0<em>Mathematica<\/em>\u00a0notebooks explaining and demonstrating the concepts from class. <\/span><\/p>\n<ol>\n<li>Introduction. What numerical analysis is all about. Mathematica. Examples of problems you can solve with Mathematica.\u00a0<\/li>\n<li><span style=\"line-height: 1.75em;\">\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_bisection_and_newton.pdf\">Bisection and Newton&#8217;s method.<\/a><span style=\"line-height: 1.75em;\"> Bisection method. Linear convergence. Newton&#8217;s method. Proof of Newton theorem on quadratic convergence in 1-d. This lecture comes with demonstrations of the <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/BisectionMethod-source.nb\">bisection method<\/a><span style=\"line-height: 1.75em;\">, <a href=\"https:\/\/jasoncantarella.com\/downloads\/newton_method_slideshow.nb\">Newton&#8217;s method<\/a>, <\/span><span style=\"line-height: 1.75em;\">\u00a0<a href=\"https:\/\/jasoncantarella.com\/downloads\/newton_method_complex_functions.nb\">unstable behavior of Newton&#8217;s method in one complex variable.<\/a><\/span><\/li>\n<li>Newton&#8217;s method in n-dimensions. <a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_newton_and_nk_theorem.pdf\">(notes part 1)<\/a>. <a href=\"https:\/\/jasoncantarella.com\/downloads\/newton_in_ndimensions_2.pdf\">(notes part 2).<\/a> Newton-Kantorovich conditions for convergence. <span style=\"line-height: 1.75em;\">Demonstration for <a href=\"https:\/\/jasoncantarella.com\/downloads\/newton_method_for_ik_slideshow.nb\">inverse kinematics<\/a>. <a href=\"https:\/\/jasoncantarella.com\/downloads\/2313800.pdf\">Ortega&#8217;s proof of the NK theorem<\/a>.<\/span>\u00a0<\/li>\n<li><span style=\"line-height: 1.75em;\"><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_secant_method.pdf\">The secant method<\/a>. Superlinear convergence of the secant method. Fibonacci numbers!<\/span> <a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/secant_method.nb\">Comparison of Newton&#8217;s method and the secant method<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_interpolation.pdf\">Interpolation of Data<\/a><span style=\"line-height: 1.75em;\">. In this lecture, we discuss the surprisingly difficult and subtle problem of estimating the value of a function between given data points. We include a demonstration of <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/InterpolatingPolynomial.nb\">interpolating polynomials<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_interpolation_error.pdf\">Error in Interpolation of Functions<\/a><span style=\"line-height: 1.75em;\">. We dig deeper into interpolation errors, discussing <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/chebyshev_nodes.nb\">interpolating polynomials and nodes <\/a>\u00a0and<span style=\"line-height: 1.75em;\">\u00a0the <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/gridpoints_and_interpolation_working.nb\">effect of choice of nodes on interpolation error.<\/a><\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/math-4500-taylor-theorem-notes.pdf\">Everything you didn&#8217;t learn about Taylor&#8217;s theorem in MATH 3100.<\/a> General form. Remainder terms.\u00a0<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_introduction_to_error_analysis.pdf\">Introduction to Error Analysis.<\/a> Interval Arithmetic. <a href=\"https:\/\/jasoncantarella.com\/downloads\/Hickey_interval.pdf\">Hickey\/Ju\/Emden paper on fundamental model.<\/a>\u00a0<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_fixed_point_base_10.pdf\">Models of computer arithmetic.<\/a> Fixed and floating point. Demonstrations for linear equations and probability computation.<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_base_10_floating_point.pdf\">Floating point arithmetic.<\/a> Loss of significance when subtracting nearly equal numbers. Accumulation of roundoff error in repeated addition.<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/IEEE-754-and-all-that.pdf\">Details of IEEE floating point on modern computers<\/a>.<span style=\"line-height: 1.75em;\">\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/machine_numbers_slideshow.nb\">Machine Numbers<\/a><span style=\"line-height: 1.75em;\">,\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/www.h-schmidt.net\/FloatConverter\/IEEE754.html\">\u00a0Conversion to single and double precision floating point number<\/a><span style=\"line-height: 1.75em;\">s\u00a0(try this with some digits of Pi, such as 3.141592653589793238462643). Here&#8217;s the <a href=\"https:\/\/jasoncantarella.com\/downloads\/patriot-gao-report.pdf\">GAO report on the Patriot missile example<\/a>.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_derivatives_and_richardson.pdf\">Estimating Derivatives and Richardson Extrapolation<\/a><span style=\"line-height: 1.75em;\">. We give a rigorous procedure, called Richardson extrapolation, for bounding approximation errors. <\/span>\n<ol>\n<li><span style=\"line-height: 1.75em;\">Demonstration notebook: <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/symbolic_richardson_extrapolation.nb\">symbolic Richardson extrapolation.<\/a><\/li>\n<li><span style=\"line-height: 1.75em;\">Demonstration notebook: <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/derivative_and_difference.nb\">Richardson extrapolation and derivatives<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li>Minihomework: <a href=\"https:\/\/jasoncantarella.com\/downloads\/minihomework-richardson-extrapolation.pdf\">Richardson extrapolation.<\/a><\/li>\n<li>Graduate material: <a href=\"https:\/\/jasoncantarella.com\/downloads\/lanczos-derivative.pdf\">Lanczos derivative and minihomework.<\/a>\n<ol>\n<li>Graduate reading: <a href=\"https:\/\/jasoncantarella.com\/downloads\/74_Lanczos_98.pdf\">Lanczos&#8217; Generalized Derivative<\/a><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_derivatives_by_fitting.pdf\">Estimating Derivatives by Polynomial Fitting<\/a><span style=\"line-height: 1.75em;\">. We can use interpolating polynomials to estimate derivatives. <\/span>\n<ol>\n<li><span style=\"line-height: 1.75em;\">Demonstration Notebook: <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/second_derivative.nb\">the approximation for the second derivative<\/a><span style=\"line-height: 1.75em;\">.\u00a0<\/span><\/li>\n<li>Minihomework: <a href=\"https:\/\/jasoncantarella.com\/downloads\/minihomework-derivative-polynomial.pdf\">Derivatives by Polynomial Interpolation.<\/a><\/li>\n<\/ol>\n<\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_numerical_integration.pdf\">Numerical Integration and the Trapezoid Rule<\/a><span style=\"line-height: 1.75em;\">. We now return to Math 2260 and reintroduce our old friend the Trapezoid rule.<br \/><\/span>\n<ol>\n<li><a href=\"https:\/\/www.youtube.com\/playlist?list=PL_2w4aVBxotTIdVel-CKb9X8xW7HIKd49\">Trapezoid rule videos (3 part playlist).<\/a> (<a href=\"https:\/\/jasoncantarella.com\/downloads\/trapezoid_rule_new.nb\">Notebook<\/a>)<\/li>\n<li>Minihomework: <a href=\"https:\/\/jasoncantarella.com\/downloads\/minihomework-trapezoid.pdf\">The Trapezoid Rule.<\/a><\/li>\n<li>Graduate material: <a href=\"https:\/\/jasoncantarella.com\/downloads\/numerical_improper_integrals.pdf\">Numerical treatment of improper integrals and minihomework.<\/a><\/li>\n<\/ol>\n<\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_revised_romberg_integration.pdf\">The Romberg integration algorithm<\/a><span style=\"line-height: 1.75em;\"> is our first really modern integrator.<\/span>\n<ol>\n<li><a href=\"https:\/\/youtu.be\/VTTRPwxjuU4\">Trapezoid rule error video.<\/a> (<a href=\"https:\/\/jasoncantarella.com\/downloads\/trapezoid_rule_error.nb\">Notebook<\/a>)<\/li>\n<li><a href=\"https:\/\/youtu.be\/2FBdp3ORKwM\">Romberg integration video.<\/a> (<a href=\"https:\/\/jasoncantarella.com\/downloads\/romberg_demonstration_new.nb\">Notebook<\/a>)<\/li>\n<li>Minihomework: <a href=\"https:\/\/jasoncantarella.com\/downloads\/minihomework-romberg-integration.pdf\">Romberg integration<\/a>.<\/li>\n<li>Additional reference material: <a href=\"https:\/\/jasoncantarella.com\/downloads\/Dahlquist-Bjorck-chapter-5.pdf\">Dahlquist\/Bjorck Chapter.<\/a><\/li>\n<li>Graduate material: <a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_advanced_trapezoid.pdf\">Error Analysis of the Trapezoid Rule<\/a><span style=\"line-height: 1.75em;\">.\u00a0<\/span>\n<ol>\n<li><a href=\"https:\/\/youtu.be\/uc2qagfMgWs\">Peano kernel error estimate video.<\/a> (<a href=\"https:\/\/jasoncantarella.com\/downloads\/peano_kernel_revised.nb\">Notebook<\/a>)<\/li>\n<li><a href=\"https:\/\/youtu.be\/5TFkd39cGXg\">Bernoulli numbers and polynomials video.<\/a> (<a href=\"https:\/\/jasoncantarella.com\/downloads\/bernoulli_polynomials_revised.nb\">Notebook<\/a>)<\/li>\n<li>Graduate minihomework: <a href=\"https:\/\/jasoncantarella.com\/downloads\/minihomework-bernoulli.pdf\">Bernoulli Polynomials minihomework<\/a>.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_one_dimensional_min.pdf\">Minimization of functions of one variable<\/a><span style=\"line-height: 1.75em;\">. This is the start of our last big topic: numerical optimization. We have some <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/minimization_one_variable.nb\">examples (including Brent&#8217;s method)<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_brents_method.pdf\">Theory of Brent&#8217;s method<\/a><span style=\"line-height: 1.75em;\">. The source material here is\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/brent_excerpt.pdf\">Chapter 5 of Brent&#8217;s book<\/a><span style=\"line-height: 1.75em;\">, which contains the original algorithm.<\/span><\/li>\n<li>\u00a0<a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_inexact_minimization.pdf\">Inexact Minimization.<\/a>\u00a0<span style=\"line-height: 1.75em;\">The source material is\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/al_excerpt.pdf\">Section 4.8 of Practical Optimization<\/a><span style=\"line-height: 1.75em;\">\u00a0by Antoniou and Lu. We give a<\/span><span style=\"line-height: 1.75em;\">\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/fletchermin.nb\">Mathematica implementation of Fletcher&#8217;s method for inexact minimization<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_nelder_mead.pdf\">Function Minimization without Derivatives: The Nelder-Mead Simplex Algorithm<\/a><span style=\"line-height: 1.75em;\">. The Nelder-Mead algorithm isn&#8217;t particularly fast, but it&#8217;s incredibly robust, and it&#8217;s easy to code. The paper\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/SJE000112.pdf\">Convergence Properties of the Nelder-Mead Algorithm in Low Dimensions<\/a><span style=\"line-height: 1.75em;\">\u00a0proves that Nelder-Mead converges for strictly convex functions on the plane. There&#8217;s also a good discussion of Nelder-Mead in\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/NelderMeadProof.pdf\">this section of Numerical Analysis with MATLAB<\/a><span style=\"line-height: 1.75em;\">. Here&#8217;s a\u00a0\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/NelderMeadDemo.nb\">Nelder-Mead Mathematica demonstration<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_nelder_mead_2.pdf\">The Nelder-Mead Algorithm in N dimensions<\/a>. We can fairly easily extend Nelder-Mead to arbitrary dimensions. Here&#8217;s the\u00a0<a href=\"https:\/\/jasoncantarella.com\/downloads\/network_optimization_demo.nb\">Nelder-Mead Mathematica Demonstration (Nd)<\/a>.<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_compass_search.pdf\">Compass Search and Other 0th order methods<\/a>. The Nelder-Mead algorithm can be extended to various algorithms which search in particular directions.<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/simulated_annealing.pdf\">Simulated Annealing and Markov Chain Methods<\/a>. An educated form of guessing.<\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_minimization_n_variables.pdf\">Minimization of Functions of N Variables I: Introduction to Direction Set Methods<\/a><span style=\"line-height: 1.75em;\">. Direction set methods use the equivalent of knowing the derivative of your function for multivariable problems. Unlike one variable problems where knowing the derivative is a convenience, this can be almost a necessity in order to make progress with some multivariable problems. \u00a0The\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/direction_methods.nb\">demonstration<\/a><span style=\"line-height: 1.75em;\">\u00a0gives the basic algorithm, we also link to <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/RosenbrockBanana.nb\">optimizing the Rosenbrock Banana Function<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_conjugate_gradient.pdf\">Direction Set Methods for Minimization of Functions of N variables II: Conjugate Directions and the Conjugate Gradient Algorithm<\/a>. This has source material from\u00a0<a href=\"http:\/\/www.nrbook.com\/a\/bookcpdf.php\">Numerical Recipes in C online (you want section 10.6)<\/a>, but I&#8217;ll try to replace it with a better reference before we get here.<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_constrained_optimization.pdf\">Constrained optimization<\/a>.<\/li>\n<\/ol>\n<h1><span style=\"color: #333333;\"><span style=\"font-size: 20.4px;\">Homework Assignments<\/span><\/span><\/h1>\n<p>Each assignment will contain some regular problems and some challenge problems. The regular problems are required for everyone. The challenge problems are required for students in MATH 6500, but extra credit for students in MATH 4500.<\/p>\n<ul>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/math4500homework3.pdf\">Finding Roots of Equations.<\/a> Due 2\/20\/20.<\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/math4500homework1.pdf\">Taylor&#8217;s Theorem and Error Analysis.<\/a> Tentatively due 2\/27\/20<\/li>\n<\/ul>\n<h2>Exams and Final Projects<\/h2>\n<p>This course has a midterm exam and a final project (depending on which grading option you choose&#8211; see the syllabus, above). The exams from \u00a0<a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_exam1.pdf\">2009<\/a>\u00a0and\u00a0<a href=\"https:\/\/jasoncantarella.com\/downloads\/4500_exam1_2010.pdf\">2010<\/a>\u00a0and \u00a0<a href=\"https:\/\/jasoncantarella.com\/downloads\/MidtermProject.nb\">2013\u00a0<\/a>\u00a0are available.<\/p>\n<p>The final project will be a 3-5 page research project leading to a calculation. The purpose of the course has been to show you some of the issues (theoretical and practical) involved in doing these calculations, together with a standard framework for comparing the accuracy of various methods by finding and plotting the number of correct digits. Your final project should draw from all of the class notebooks as needed. In accordance with UGA policy on final exams, this final project will be considered a take-home final exam for the course. However, it is specifically permitted to talk with other students about the project, and to use web resources and textbooks as you work.<\/p>\n<ul>\n<li>2017 project #1:\u00a0 <a href=\"https:\/\/jasoncantarella.com\/downloads\/scanpyramid-student.nb\">ScanPyramid project\u00a0<\/a>\u00a0(<a href=\"https:\/\/jasoncantarella.com\/downloads\/scanpyramid-student.pdf\">pdf<\/a>) which has <a href=\"https:\/\/jasoncantarella.com\/downloads\/Pyramid-Scan-Data.csv\">accompanying data\u00a0<\/a>\u00a0and a <a href=\"https:\/\/jasoncantarella.com\/downloads\/Pyramid_4.png\">map of the explored portions of the pyramid<\/a>. In the ScanPyramid project, you are given the outline of a pyramid which has been partially explored.\n<p><a href=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/Pyramid_4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1030 aligncenter\" src=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/Pyramid_4-300x255.png\" alt=\"\" width=\"300\" height=\"255\" srcset=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/Pyramid_4-300x255.png 300w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/Pyramid_4-150x127.png 150w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/Pyramid_4-768x652.png 768w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/Pyramid_4-1024x869.png 1024w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/Pyramid_4-904x767.png 904w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>For a random selection of lines through the pyramid, you are also given the total mass of pyramid along that line (this is lower than expected when the line passes through cavities in the pyramid). From this information, you can reconstruct a map of the interior portions of the pyramid using numerical integration. The best map was produced by James Taylor, who won the 2017 Best Student prize:<\/p>\n<p><a href=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1031 aligncenter\" src=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor-300x300.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor-300x300.jpg 300w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor-150x150.jpg 150w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor-768x768.jpg 768w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor-1024x1024.jpg 1024w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor-904x904.jpg 904w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2020\/01\/scanpyramid-Taylor.bmp 1274w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>Note that in 2017, a team of physicists used muon scattering to <a href=\"https:\/\/www.nature.com\/articles\/nature24647\">find a previously unknown void in Khufu&#8217;s pyramid<\/a> using basically the same mathematics. This is also roughly how <a href=\"https:\/\/en.wikipedia.org\/wiki\/CT_scan\">CT scans<\/a> work in medical imaging.\u00a0<\/p>\n<\/li>\n<li>2017 project #2: <a href=\"https:\/\/jasoncantarella.com\/downloads\/math4500homework12.pdf\">CodeBreaker<\/a>\u00a0which has an accompanying <a href=\"https:\/\/jasoncantarella.com\/downloads\/english_bigrams.txt\">table of English-language digraph frequencies<\/a>. In CodeBreaker, you are given the encrypted text\n<p>RTQIJQRHNZAQFGJAQFBIBQKRGQXJBFBRRTHDJKHSQRGQXBKWFG ZJJPBAJKRBHKRVGBIGHKJAQMIQEEEJKWFGLZJQPFGQKPFGBIDK JRRQKPBRQEVQMRPJSBKQLEJLMZJSJZJKIJFHFGZJJTEQKJRJQI GQFZBWGFQKWEJRFHFGJHFGJZRLNFRHAJTGBEHRHTGBIQETJHTE JGQXJLJJKQRDBKWVGMFGZJJPBAJKRBHKRTQZFBINEQZEMVGMKH FQKHFGJZPBZJIFBHKQFZBWGFQKWEJRFHFGJHFGJZFGZJJQKPGQ XJJXJKFZBJPFHIHKRFZNIFQSHNZPBAJKRBHKWJHAJFZMTZHSJR RHZRBAHKKJVIHALVQRJYTHNKPBKWFGBRFHFGJKJVMHZDAQFGJA QFBIQERHIBJFMHKEMQAHKFGHZRHQWHMHNDKHVGHVHKQSEQFRNZ SQIJVGBIGGQRHKEMFVHPBAJKRBHKRVJIQKZJTZJRJKFQSBWNZJ HSQFGZJJPBAJKRBHKQERHEBPQKPRBABEQZEMFGJMFGBKDFGQFL MAHPJERHSFGZJJPBAJKRBHKRFGJMIHNEPZJTZJRJKFHKJHSSHN ZBSFGJMIHNEPAQRFJZFGJTJZRTJIFBXJHSFGJFGBKWRJJBFGBK DRHANZANZJPFGJTZHXBKIBQEAQMHZQKPDKBFFBKWGBRLZHVRGJ EQTRJPBKFHQKBKFZHRTJIFBXJRFQFJGBREBTRAHXBKWQRHKJVG HZJTJQFRAMRFBIVHZPRMJRBFGBKDBRJJBFKHVGJRQBPQSFJZRH AJFBAJLZBWGFJKBKWBKQONBFJFZQKRBFHZMAQKKJZVJEEBPHKH FABKPFJEEBKWMHNBGQXJLJJKQFVHZDNTHKFGBRWJHAJFZMHSSH NZPBAJKRBHKRSHZRHAJFBAJRHAJHSAMZJRNEFRQZJINZBHNRSH ZBKRFQKIJGJZJBRQTHZFZQBFHSQAQKQFJBWGFMJQZRHEPQKHFG JZQFSBSFJJKQKHFGJZQFRJXJKFJJKQKHFGJZQFFVJKFMFGZJJQ KPRHHKQEEFGJRJQZJJXBPJKFEMRJIFBHKRQRBFVJZJFGZJJPBA JKRBHKQEZJTZJRJKFQFBHKRHSGBRSHNZPBAJKRBHKJPLJBKWVG BIGBRQSBYJPQKPNKQEFJZQLEJFGBKWRIBJKFBSBITJHTEJTZHI JJPJPFGJFBAJFZQXJEEJZQSFJZFGJTQNRJZJONBZJPSHZFGJTZ HTJZQRRBABEQFBHKHSFGBRDKHVXJZMVJEEFGQFFBAJBRHKEMQD BKPHSRTQIJGJZJBRQTHTNEQZRIBJKFBSBIPBQWZQAQVJQFGJZZ JIHZPFGBREBKJBFZQIJVBFGAMSBKWJZRGHVRFGJAHXJAJKFHSF GJLQZHAJFJZMJRFJZPQMBFVQRRHGBWGMJRFJZPQMKBWGFBFSJE EFGJKFGBRAHZKBKWBFZHRJQWQBKQKPRHWJKFEMNTVQZPFHGJZJ RNZJEMFGJAJZINZMPBPKHFFZQIJFGBREBKJBKQKMHSFGJPBAJK RBHKRHSRTQIJWJKJZQEEMZJIHWKBCJPLNFIJZFQBKEMBFFZQIJ PRNIGQEBKJQKPFGQFEBKJFGJZJSHZJVJANRFIHKIENPJVQRQEH KWFGJFBAJPBAJKRBHK<\/p>\n<p>and asked to automatically decrypt it by using optimization to match frequencies of letters and pairs of letters in English text.\u00a0<\/p>\n<\/li>\n<li>2013 project: <a style=\"font-size: inherit;\" href=\"https:\/\/jasoncantarella.com\/downloads\/math4500finalproject2013.pdf\">Taco-Related Mountain Navigation Challenge<\/a><span style=\"font-size: inherit;\">, and <\/span><a style=\"font-size: inherit;\" href=\"https:\/\/jasoncantarella.com\/downloads\/TerrainPackage.m\">TerrainPackage.m<\/a><span style=\"font-size: inherit;\">\u00a0along with <\/span><a style=\"font-size: inherit;\" href=\"https:\/\/jasoncantarella.com\/downloads\/TerrainPackageTester.nb\">TerrainPackageTester.nb<\/a><span style=\"font-size: inherit;\"><span style=\"font-size: inherit;\">.<\/span><\/span>\n<p><span style=\"font-size: inherit;\">In the TRMNC, you are given a function z(x,y) describing the topography of the L.A. basin and are asked to find the shortest overland route between the &#8220;El Chato&#8221; taco truck and a set of coordinates in the desert. <\/span><\/p>\n<p>The 2013 winner was Scott Barnes, whose Bezier curve solution is shown below. This solution has length 16.403 km, which is the new number to beat. Congratulations, Scott!<\/p>\n<p><a href=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2013\/08\/swb_solution.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-480\" src=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2013\/08\/swb_solution-300x300.png\" alt=\"swb_solution\" width=\"300\" height=\"300\" srcset=\"https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2013\/08\/swb_solution-300x300.png 300w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2013\/08\/swb_solution-150x150.png 150w, https:\/\/jasoncantarella.com\/wordpress\/wp-content\/uploads\/2013\/08\/swb_solution.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<\/li>\n<\/ul>\n<h5>Extra class resources.\u00a0<\/h5>\n<p>I&#8217;ve compiled some extra lectures and demonstrations from past versions of the class. I&#8217;m not going to cover these in the current class, but I&#8217;d like to leave them available to you for further reading.<\/p>\n<ul>\n<li><span style=\"line-height: 1.75em;\">Numerical differentiation with noise. <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/chartrand-2007-numerical.pdf\">Numerical Differentiation of Noisy, Nonsmooth Data<\/a><span style=\"line-height: 1.75em;\">\u00a0by Chartrand. The second is a <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/differentiating_noisy_data.nb\">demonstration of Chartrand&#8217;s method<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_polylines.pdf\">Computing Derivatives of Polylines<\/a><span style=\"line-height: 1.75em;\">. This lecture is based on the paper<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/langer.pdf\">\u00a0Asymptotic Analysis of Discrete Normals and Curvatures of Polylines<\/a><span style=\"line-height: 1.75em;\">. These methods are implemented in\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/polyline_curvature.nb\">curvature and torsion of polylines<\/a><span style=\"line-height: 1.75em;\">\u00a0with the data set\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/trefoil_data.dat\">trefoil data.dat<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_gauss_quadrature.pdf\">Gauss Quadrature<\/a><span style=\"line-height: 1.75em;\">. Another integration rule, which is based on the <\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/legendre_polynomials.nb\">Legendre polynomials<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/newton_cotes.nb\">Newton-Cotes Rules<\/a><span style=\"line-height: 1.75em;\">. This lecture is different from the others because the entire lecture is given in\u00a0<\/span><em style=\"line-height: 1.75em;\">Mathematica.<\/em><\/li>\n<li><a href=\"https:\/\/jasoncantarella.com\/downloads\/trap-iap-2011.pdf\">The trapezoid rule for periodic functions and Clenshaw-Curtis quadrature.\u00a0<\/a><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_adaptive_integration.pdf\">Adaptive Integration and Simpson&#8217;s Rule<\/a><span style=\"line-height: 1.75em;\">. This doesn&#8217;t have a demonstration (yet).<\/span><\/li>\n<li><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/4500_minimization_with_derivative.pdf\">Minimization with derivatives<\/a><span style=\"line-height: 1.75em;\">. If you can compute derivatives of your function symbolically (this can be a\u00a0<\/span><em style=\"line-height: 1.75em;\">big<\/em><span style=\"line-height: 1.75em;\"> if in applications!) you can do somewhat better than just using a straight Brent&#8217;s method. See\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/nr_excerpt.pdf\">Section 10.3 of Numerical Recipes in C (Press, Flannery, Teukolsky, Vetterling<\/a><span style=\"line-height: 1.75em;\">)\u00a0<\/span><span style=\"line-height: 1.75em;\">and our\u00a0<\/span><a style=\"line-height: 1.75em;\" href=\"https:\/\/jasoncantarella.com\/downloads\/dBrent.nb\">Mathematica implementation of Brent&#8217;s method with derivatives<\/a><span style=\"line-height: 1.75em;\">.<\/span><\/li>\n<\/ul>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Material on this page is a work-for-hire produced for the University of Georgia.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to the homepage for Numerical Analysis (Math 4500\/6500)! I will post all the homework assignments for the course on this page. Our text for the course is Cheney and Kincaid, Numerical Mathematics and Computing\u00a0(seventh edition). If you want to save money and get the 6th edition for a lot less money, you&#8217;ll be fine. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":78,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-90","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/pages\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":10,"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/pages\/90\/revisions"}],"predecessor-version":[{"id":1766,"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/pages\/90\/revisions\/1766"}],"up":[{"embeddable":true,"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/pages\/78"}],"wp:attachment":[{"href":"https:\/\/jasoncantarella.com\/wordpress\/wp-json\/wp\/v2\/media?parent=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}