This document describes how I implement the Newton method using Python and Fortran on the test function f(x) = (x 1) log 10 (x).
|
|
- Norma Hawkins
- 6 years ago
- Views:
Transcription
1 AMS 209 Foundations of Scientific Computing Homework 6 November 23, 2015 Cheng-Han Yu This document describes how I implement the Newton method using Python and Fortran on the test function f(x) = (x 1) log 10 (x). 1 Test function The test function is f(x) = (x 1) log 10 (x), which is the function type 2 specified in the runtime parameter file named as rootfinder.init xxx with the parameter called ftn type. Figure?? shows the test function. 1 Its root, x : f(x) = 0, is at x = x = 1. Figure 1: The test function f(x) = (x 1) log 10 (x) 1 The code that generates the figure is saved in./pyrun/functionplot.py. 1
2 2 Newton Method Convergence Results In this section, I examine the convergence behavior of implementing the Newton method with two initial guesses: one is x 0 = 0.9, which is close to the true root x = 1; the other is x 0 = 10, which is far away from the true solution. With three threshold values 10e-4, 10e-6 and 10e-8, and two initial guesses 0.9 and 10, after running the Python script pyrun rootfinder.py 2, six runtime parameter files, six convergence data files and corresponding pictures are generated and named according to the threshold values and initial guesses. For example, rootfinder.init is the runtime parameter file with the threshold and initial guess 0.9. The last number indicates the order that a file is generated. So this file is the first generated file. File rootfinder newton ftntype 02 1e dat.5 is convergence result with threshold 10e-6 and initial guess 10. Here, function type is also included and this file is the fifth dataset generated by running the code. Picture names are like result 2 1e png. Again, here 2 indicates the function type. 2.1 Result with x 0 = 0.9 The output shown on the terminal screen for x 0 = 0.9 is like The initial search value is x = Your converged solution x = Solution converged in Nstep= 17 Threshold value = E-004 The initial search value is x = Your converged solution x = Solution converged in Nstep= 30 Threshold value = E-007 The initial search value is x = Your converged solution x = Solution converged in Nstep= 43 2 If one wants to show figures on the screen, please uncomment plt.show() in the Python function plot data(plotfilename) at line 79. 2
3 Threshold value = E-008 Notice that as the threshold value decreases, the algorithm requires more iterations (17, 30 and 43), and the converged solution x is closer to the true root x = 1. All three convergent solutions are not exactly one, but they are very close to it. Figure??,??, and?? shows the convergence behaviors when initial guess is 0.9 for three different threshold values 1e-4, 1e-6 and 1e-8. For the first several iterations, the solution varies much, going toward to the true root faster than the solution in the last few iterations. Figure 2: Convergence behavior with threshold and initial guess 0.9. Top: Solution x v.s. 2.2 Result with x 0 = 10 When our initial guess is far away from the true solution, the algorithm need more iterations to get converged. Here, when x 0 = 10, it requires 26, 39 and 52 steps for threshold 1e-4, 1e-6 and 1e-8. Each have 9 more iterations than the case when x 0 = 0.9. The output shown on the terminal screen looks like: The initial search value is x = Your converged solution x = Solution converged in Nstep= 26 Threshold value = E-004 3
4 Figure 3: Convergence behavior with threshold 1e-6 and initial guess 0.9. Top: Solution x v.s. Figure 4: Convergence behavior with threshold 1e-8 and initial guess 0.9. Top: Solution x v.s. The initial search value is x = Your converged solution x = Solution converged in Nstep= 39 Threshold value = E-007 4
5 The initial search value is x = Your converged solution x = Solution converged in Nstep= 52 Threshold value = E-008 Again, all convergent solutions are not identical to one, but are slightly greater than one. Figure??,?? and?? show the convergent behaviors when initial guess is 10. As in the previous case, the iterated solution does not change much after 20 iterations. Figure 5: Convergence behavior with threshold and initial guess 10. Top: Solution x v.s. 2.3 Comments For this particular function with NIKE-like smooth quadratic curve, its convergent behavior is not complicated. If x 0 < x, x iter keeps increasing to x, and x iter keeps decreasing x if x 0 > x. x iter is not going up and down around the true solution or has any special or interesting convergent pattern. In both initial value cases, x iter converges quickly to x in just 10 iterations. 5
6 Figure 6: Convergence behavior with threshold 1e-6 and initial guess 10. Top: Solution x v.s. Figure 7: Convergence behavior with threshold 1e-8 and initial guess 10. Top: Solution x v.s. 6
1 Introduction: Using a Python script to compile and plot data from Fortran modular program for Newton s method
1 Introduction: Using a Python script to compile and plot data from Fortran modular program for Newton s method This week s assignment for AMS209 involves using a Python script that can compile a Fortran
More informationToday s class. Roots of equation Finish up incremental search Open methods. Numerical Methods, Fall 2011 Lecture 5. Prof. Jinbo Bi CSE, UConn
Today s class Roots of equation Finish up incremental search Open methods 1 False Position Method Although the interval [a,b] where the root becomes iteratively closer with the false position method, unlike
More information1. Practice the use of the C ++ repetition constructs of for, while, and do-while. 2. Use computer-generated random numbers.
1 Purpose This lab illustrates the use of looping structures by introducing a class of programming problems called numerical algorithms. 1. Practice the use of the C ++ repetition constructs of for, while,
More informationDrawing fractals in a few lines of Matlab
Drawing fractals in a few lines of Matlab Thibaud Taillefumier Disclaimer: This note is intended as a guide to generate fractal and perhaps cool-looking images using a few functionalities offered by Matlab.
More informationSYSTEMS OF NONLINEAR EQUATIONS
SYSTEMS OF NONLINEAR EQUATIONS Widely used in the mathematical modeling of real world phenomena. We introduce some numerical methods for their solution. For better intuition, we examine systems of two
More information9.1: GRAPHING QUADRATICS ALGEBRA 1
9.1: GRAPHING QUADRATICS ALGEBRA 1 OBJECTIVES I will be able to graph quadratics: Given in Standard Form Given in Vertex Form Given in Intercept Form What does the graph of a quadratic look like? https://www.desmos.com/calculator
More information5.5 Newton s Approximation Method
498CHAPTER 5. USING DERIVATIVES TO ANALYZE FUNCTIONS; FURTHER APPLICATIONS 4 3 y = x 4 3 f(x) = x cosx y = cosx 3 3 x = cosx x cosx = 0 Figure 5.: Figure showing the existence of a solution of x = cos
More informationThis is called the vertex form of the quadratic equation. To graph the equation
Name Period Date: Topic: 7-5 Graphing ( ) Essential Question: What is the vertex of a parabola, and what is its axis of symmetry? Standard: F-IF.7a Objective: Graph linear and quadratic functions and show
More informationNewton s Method. Example : Find the root of f (x) =
Newton s Method Example : Find the root of f (x) = If we draw the graph of f (x), we can see that the root of f (x) = 0 is the x - coordinate of the point where the curve intersects with the x - axis.
More informationMidterm Exam with solutions
Midterm Exam with solutions CS227-Introduction to Scientific Computation November 8, 2011 1. The following is a transcript of a MATLAB session. >> x=1/62.5 x = 0.016000000000000 >> y=(1+x)-1 y = 0.016000000000000
More informationWXML Final Report: Shapes of Julia Sets
WXML Final Report: Shapes of Julia Sets Malik Younsi, Peter Lin, Chi-Yu Cheng, Siyuan Ni, Ryan Pachauri and Xiao Li Spring 2017 Abstract In general, the complex graphical representation of Julia set is
More informationWarm-Up Exercises. Find the x-intercept and y-intercept 1. 3x 5y = 15 ANSWER 5; y = 2x + 7 ANSWER ; 7
Warm-Up Exercises Find the x-intercept and y-intercept 1. 3x 5y = 15 ANSWER 5; 3 2. y = 2x + 7 7 2 ANSWER ; 7 Chapter 1.1 Graph Quadratic Functions in Standard Form A quadratic function is a function that
More informationNewton and Quasi-Newton Methods
Lab 17 Newton and Quasi-Newton Methods Lab Objective: Newton s method is generally useful because of its fast convergence properties. However, Newton s method requires the explicit calculation of the second
More information10.4 Linear interpolation method Newton s method
10.4 Linear interpolation method The next best thing one can do is the linear interpolation method, also known as the double false position method. This method works similarly to the bisection method by
More informationSection 18-1: Graphical Representation of Linear Equations and Functions
Section 18-1: Graphical Representation of Linear Equations and Functions Prepare a table of solutions and locate the solutions on a coordinate system: f(x) = 2x 5 Learning Outcome 2 Write x + 3 = 5 as
More informationCSC 2515 Introduction to Machine Learning Assignment 2
CSC 2515 Introduction to Machine Learning Assignment 2 Zhongtian Qiu(1002274530) Problem 1 See attached scan files for question 1. 2. Neural Network 2.1 Examine the statistics and plots of training error
More informationCS201: Computer Vision Introduction to Tracking
CS201: Computer Vision Introduction to Tracking John Magee 18 November 2014 Slides courtesy of: Diane H. Theriault Question of the Day How can we represent and use motion in images? 1 What is Motion? Change
More informationWhile Loops A while loop executes a statement as long as a condition is true while condition: statement(s) Statement may be simple or compound Typical
Recommended Readings Chapter 5 Topic 5: Repetition Are you saying that I am redundant? That I repeat myself? That I say the same thing over and over again? 1 2 Repetition So far, we have learned How to
More informationIntroduction to ANSYS DesignXplorer
Lecture 4 14. 5 Release Introduction to ANSYS DesignXplorer 1 2013 ANSYS, Inc. September 27, 2013 s are functions of different nature where the output parameters are described in terms of the input parameters
More informationUNIT 3 EXPRESSIONS AND EQUATIONS Lesson 3: Creating Quadratic Equations in Two or More Variables
Guided Practice Example 1 Find the y-intercept and vertex of the function f(x) = 2x 2 + x + 3. Determine whether the vertex is a minimum or maximum point on the graph. 1. Determine the y-intercept. The
More informationTextbook. Topic 5: Repetition. Types of Loops. Repetition
Textbook Topic 5: Repetition Are you saying that I am redundant? That I repeat myself? That I say the same thing over and over again? Strongly Recommended Exercises The Python Workbook: 64, 69, 74, and
More informationAn interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s.
Using Monte Carlo to Estimate π using Buffon s Needle Problem An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Here s the problem (in a simplified form). Suppose
More informationCS446: Machine Learning Fall Problem Set 4. Handed Out: October 17, 2013 Due: October 31 th, w T x i w
CS446: Machine Learning Fall 2013 Problem Set 4 Handed Out: October 17, 2013 Due: October 31 th, 2013 Feel free to talk to other members of the class in doing the homework. I am more concerned that you
More informationCPSC 340: Machine Learning and Data Mining. Robust Regression Fall 2015
CPSC 340: Machine Learning and Data Mining Robust Regression Fall 2015 Admin Can you see Assignment 1 grades on UBC connect? Auditors, don t worry about it. You should already be working on Assignment
More informationAnd Now to Something Completely Different: Finding Roots of Real Valued Functions
And Now to Something Completely Different: Finding Roots of Real Valued Functions Four other Oysters followed them, And yet another four; And thick and fast they came at last, And more, and more, and more{
More informationDistance Functions 1
Distance Functions 1 Distance function Given: geometric object F (curve, surface, solid, ) Assigns to each point the shortest distance from F Level sets of the distance function are trimmed offsets F p
More informationRadical Functions. Attendance Problems. Identify the domain and range of each function.
Page 1 of 12 Radical Functions Attendance Problems. Identify the domain and range of each function. 1. f ( x) = x 2 + 2 2. f ( x) = 3x 3 Use the description to write the quadratic function g based on the
More informationAMS209 Final Project: Linear Equations System Solver
AMS209 Final Project: Linear Equations System Solver Rene Gutierrez Marquez 1 UCSC 1 December 7, 2016 Abstract In this project an implementation of a solver of a system of linear equations is implemented.
More informationFunctions. Copyright Cengage Learning. All rights reserved.
Functions Copyright Cengage Learning. All rights reserved. 2.2 Graphs Of Functions Copyright Cengage Learning. All rights reserved. Objectives Graphing Functions by Plotting Points Graphing Functions with
More informationFrom: Robert Sharpley Subject: Homeworks #6 Date: February 22, :09:53 AM EST Cc: Robert Sharpley
From: Robert Sharpley Subject: Homeworks #6 Date: February 22, 2006 9:09:53 AM EST Cc: Robert Sharpley %% Homework #5 - Solutions %% Here is a matlab code
More informationMath 128a - Programming Project 1 - ANSWERS. The main program is called ZeroCurve.m, and it calls three other functions:
Math 8a - Programming Project - ANSWERS The main program is called ZeroCurve.m, and it calls three other functions: Dist.m which just computes Euclidean distances between points, NextZero.m which, given
More informationCluster Newton Method for Sampling Multiple Solutions of an Underdetermined Inverse Problem: Parameter Identification for Pharmacokinetics
Cluster Newton Method for Sampling Multiple Solutions of an Underdetermined Inverse Problem: Parameter Identification for Pharmacokinetics 8 8 Yasunori Aoki (University of Waterloo) Uppsala University
More information1 MATH 253 LECTURE NOTES for FRIDAY SEPT. 23,1988: edited March 26, 2013.
1 MATH 253 LECTURE NOTES for FRIDAY SEPT. 23,1988: edited March 26, 2013. TANGENTS Suppose that Apple Computers notices that every time they raise (or lower) the price of a $5,000 Mac II by $100, the number
More informationFortran 90 Two Commonly Used Statements
Fortran 90 Two Commonly Used Statements 1. DO Loops (Compiled primarily from Hahn [1994]) Lab 6B BSYSE 512 Research and Teaching Methods The DO loop (or its equivalent) is one of the most powerful statements
More informationNotes Rules for Transformations of Functions If f x is the original functions, a > 0 and c > 0.
9.1.2 Parabola Investigation Do Now 1. Vertical means and horizontal is. 2. Another word for compress is. 3. Given the statement 0 < a < 1, a represents numbers like 4. Given the statement a > 1, a represents
More informationComputational Mathematics/Information Technology. Worksheet 2 Iteration and Excel
Computational Mathematics/Information Technology Worksheet 2 Iteration and Excel This sheet uses Excel and the method of iteration to solve the problem f(x) = 0. It introduces user functions and self referencing
More informationReals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method.
Reals 1 13 Reals Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method. 13.1 Floating-point numbers Real numbers, those declared to be
More informationThe Bisection Method versus Newton s Method in Maple (Classic Version for Windows)
The Bisection Method versus (Classic Version for Windows) Author: Barbara Forrest Contact: baforres@uwaterloo.ca Copyrighted/NOT FOR RESALE version 1.1 Contents 1 Objectives for this Lab i 2 Approximate
More informationUnit 3, Lesson 3.1 Creating and Graphing Equations Using Standard Form
Unit 3, Lesson 3.1 Creating and Graphing Equations Using Standard Form Imagine the path of a basketball as it leaves a player s hand and swooshes through the net. Or, imagine the path of an Olympic diver
More informationCSE100 Principles of Programming with C++
1 Instructions You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work with a partner, only submit one lab project with both
More informationf( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving
The Bisection Method and Newton s Method. If f( x ) a function, then a number r for which f( r) 0 is called a zero or a root of the function f( x ), or a solution to the equation f( x) 0. You are already
More informationGRAPHING POLYNOMIALS DAY 2 U N I T 1 1
GRAPHING POLYNOMIALS DAY 2 U N I T 1 1 ODD/EVEN DEGREE POLYNOMIAL Odd degree polynomial: A polynomial whose largest power is an odd integer Even degree polynomial : A polynomial whose largest power is
More informationInternational Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research)
International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research) International Journal of Emerging Technologies in Computational
More informationComputers in Engineering Root Finding Michael A. Hawker
Computers in Engineering COMP 208 Root Finding Michael A. Hawker Root Finding Many applications involve finding the roots of a function f(x). That is, we want to find a value or values for x such that
More informationCreating Mathematical Illustrations
MLI Home Mathematics The Torus Creating Mathematical Illustrations Creating Mathematical Illustrations Worth the pain Creating the illustrations for the torus geodesics page was a challenge. No single
More informationLECTURE 0: Introduction and Background
1 LECTURE 0: Introduction and Background September 10, 2012 1 Computational science The role of computational science has become increasingly significant during the last few decades. It has become the
More informationClustering Lecture 5: Mixture Model
Clustering Lecture 5: Mixture Model Jing Gao SUNY Buffalo 1 Outline Basics Motivation, definition, evaluation Methods Partitional Hierarchical Density-based Mixture model Spectral methods Advanced topics
More information61A Lecture 6. Friday, September 7
61A Lecture 6 Friday, September 7 Lambda Expressions >>> ten = 10 An expression: this one evaluates to a number >>> square = x * x Also an expression: evaluates to a function >>> square = lambda x: x *
More informationFondamenti di Informatica
Fondamenti di Informatica Scripts and Functions: examples lesson 9 2012/04/16 Prof. Emiliano Casalicchio emiliano.casalicchio@uniroma2.it Agenda Examples Bisection method Locating roots Secant methods
More informationx 2 + 8x - 12 = 0 Aim: To review for Quadratic Function Exam #1 Homework: Study Review Materials
Aim: To review for Quadratic Function Exam #1 Homework: Study Review Materials Do Now - Solve using any strategy. If irrational, express in simplest radical form x 2 + 8x - 12 = 0 Review Topic Index 1.
More informationHomework 4: Clustering, Recommenders, Dim. Reduction, ML and Graph Mining (due November 19 th, 2014, 2:30pm, in class hard-copy please)
Virginia Tech. Computer Science CS 5614 (Big) Data Management Systems Fall 2014, Prakash Homework 4: Clustering, Recommenders, Dim. Reduction, ML and Graph Mining (due November 19 th, 2014, 2:30pm, in
More informationToday. Golden section, discussion of error Newton s method. Newton s method, steepest descent, conjugate gradient
Optimization Last time Root finding: definition, motivation Algorithms: Bisection, false position, secant, Newton-Raphson Convergence & tradeoffs Example applications of Newton s method Root finding in
More informationProperties of Quadratic functions
Name Today s Learning Goals: #1 How do we determine the axis of symmetry and vertex of a quadratic function? Properties of Quadratic functions Date 5-1 Properties of a Quadratic Function A quadratic equation
More informationIf not instantaneous, it is extraordinarily rapid". Galileo writing about his attempt to measure the speed of light with two lanterns
If not instantaneous, it is extraordinarily rapid". Galileo writing about his attempt to measure the speed of light with two lanterns Our Method Mirror LASER DETECTOR dx=l/2 dt Why is one measurement not
More informationSection 3.7 Notes. Rational Functions. is a rational function. The graph of every rational function is smooth (no sharp corners)
Section.7 Notes Rational Functions Introduction Definition A rational function is fraction of two polynomials. For example, f(x) = x x + x 5 Properties of Rational Graphs is a rational function. The graph
More informationConstrained Optimization with Calculus. Background Three Big Problems Setup and Vocabulary
Constrained Optimization with Calculus Background Three Big Problems Setup and Vocabulary Background Information In unit 3, you learned about linear programming, in which all constraints and the objective
More informationPhenoRipper Documentation
PhenoRipper Documentation PhenoRipper Installation Windows We provide 32 bits and 64 bits installers. Choose the one that corresponds to your operating system, double click on it and follow the installer
More informationk-means A classical clustering algorithm
k-means A classical clustering algorithm Devert Alexandre School of Software Engineering of USTC 30 November 2012 Slide 1/65 Table of Contents 1 Introduction 2 Visual demo Step by step Voronoi diagrams
More informationComputer Worksheet 4
GB Computational Maths 2003-04 1 Computer Worksheet 4 The Bisection Method This sheet shows how to code the bisection method using the Excel spread sheet with a number of user defined functions. The instruction
More informationAMS209 Final Project
AMS209 Final Project Xingchen Yu Department of Applied Mathematics and Statistics, University of California, Santa Cruz November 2015 1 Abstract In the project, we explore LU decomposition with or without
More informationDirect Rendering of Trimmed NURBS Surfaces
Direct Rendering of Trimmed NURBS Surfaces Hardware Graphics Pipeline 2/ 81 Hardware Graphics Pipeline GPU Video Memory CPU Vertex Processor Raster Unit Fragment Processor Render Target Screen Extended
More informationHMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression
HMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression Goals: To open up the black-box of scikit-learn and implement regression models. To investigate how adding polynomial
More informationVectorization Using Stochastic Local Search
Vectorization Using Stochastic Local Search Byron Knoll CPSC303, University of British Columbia March 29, 2009 Abstract: Stochastic local search can be used for the process of vectorization. In this project,
More informationNumerical Methods in Scientific Computation
Numerical Methods in Scientific Computation Programming and Software Introduction to error analysis 1 Packages vs. Programming Packages MATLAB Excel Mathematica Maple Packages do the work for you Most
More informationNEWTON METHOD and HP-48G
NEWTON METHOD an HP-48G DE TING WU DEPART. of MATH. MOREHOUSE COLLEGE I. Introuction Newton metho is an often-use proceure to fin the approximate values of the solutions of an equation. Now, it is covere
More informationcallback, iterators, and generators
callback, iterators, and generators 1 Adding a Callback Function a function for Newton s method a function of the user to process results 2 A Newton Iterator defining a counter class refactoring the Newton
More informationUnit 2 Day 9. FRED Functions
Unit 2 Day 9 FRED Functions 1 1. Graph 2. Test a point (0,0) 3. Shade Warm Up You may want to try the problems on this slide by hand! Practice for the non-calculator part of the test! 2 2 1. 2. y x 2x
More information3.7. Vertex and tangent
3.7. Vertex and tangent Example 1. At the right we have drawn the graph of the cubic polynomial f(x) = x 2 (3 x). Notice how the structure of the graph matches the form of the algebraic expression. The
More informationMaximizing an interpolating quadratic
Week 11: Monday, Apr 9 Maximizing an interpolating quadratic Suppose that a function f is evaluated on a reasonably fine, uniform mesh {x i } n i=0 with spacing h = x i+1 x i. How can we find any local
More informationThursday 14 June 2012 Morning
Thursday 4 June 202 Morning A2 GCE MATHEMATICS 4726 Further Pure Mathematics 2 QUESTION PAPER *47325062* Candidates answer on the Printed Answer Book. OCR supplied materials: Printed Answer Book 4726 List
More informationGraphing Techniques. Domain (, ) Range (, ) Squaring Function f(x) = x 2 Domain (, ) Range [, ) f( x) = x 2
Graphing Techniques In this chapter, we will take our knowledge of graphs of basic functions and expand our ability to graph polynomial and rational functions using common sense, zeros, y-intercepts, stretching
More informationAfter an "Hour of Code" now what?
After an "Hour Code" now what? 2016 Curtis Center Mathematics and Teaching Conference Chris Anderson Pressor and Director the Program in Computing UCLA Dept. Mathematics March 5, 2016 New push in K-12
More information2.2 Graphs Of Functions. Copyright Cengage Learning. All rights reserved.
2.2 Graphs Of Functions Copyright Cengage Learning. All rights reserved. Objectives Graphing Functions by Plotting Points Graphing Functions with a Graphing Calculator Graphing Piecewise Defined Functions
More informationCS558 Programming Languages
CS558 Programming Languages Fall 2016 Lecture 7a Andrew Tolmach Portland State University 1994-2016 Values and Types We divide the universe of values according to types A type is a set of values and a
More informationAn Introduction to Graphing Calculator Basics: Graphing Functions and Solving Equations
An Introduction to Graphing Calculator Basics: Graphing Functions and Solving Equations Audience: Teachers of mathematics who have little or no experience with graphing calculators. Required Technology:
More informationJMP Chong Ho
JMP Interface: ipod of statistical software Chong Ho Yu, Ph.D. (2012) cyu@apu.edu www.creative wisdom.com JMP is software package created by SAS Institute for data visualization and exploratory data analysis.
More informationHSC Mathematics - Extension 1. Workshop E2
HSC Mathematics - Extension Workshop E Presented by Richard D. Kenderdine BSc, GradDipAppSc(IndMaths), SurvCert, MAppStat, GStat School of Mathematics and Applied Statistics University of Wollongong Moss
More informationApproximating Square Roots
Math 560 Fall 04 Approximating Square Roots Dallas Foster University of Utah u0809485 December 04 The history of approximating square roots is one of the oldest examples of numerical approximations found.
More informationJustify all your answers and write down all important steps. Unsupported answers will be disregarded.
Numerical Analysis FMN011 2017/05/30 The exam lasts 5 hours and has 15 questions. A minimum of 35 points out of the total 70 are required to get a passing grade. These points will be added to those you
More informationProject Report. 1 Abstract. 2 Algorithms. 2.1 Gaussian elimination without partial pivoting. 2.2 Gaussian elimination with partial pivoting
Project Report Bernardo A. Gonzalez Torres beaugonz@ucsc.edu Abstract The final term project consist of two parts: a Fortran implementation of a linear algebra solver and a Python implementation of a run
More informationOptimization Problems and Wrap-Up. CS 221 Lecture 14 Tue 6 December 2011
Optimization Problems and Wrap-Up CS 221 Lecture 14 Tue 6 December 2011 Agenda 1. Announcements 2. Solving Optimization Problems in Excel and MATLAB (Text Chapter 10) 3. Other nifty functions in (standard)
More informationLecture 10 Root Finding using Open Methods. Dr.Qi Ying
Lecture 10 Root Finding using Open Methods Dr.Qi Ying Objectives Open methods Fixed point iteration Newton-Raphson Modified secant method Open Methods vs. Bracketing Methods Bracketing methods Root is
More informationInterpolation. TANA09 Lecture 7. Error analysis for linear interpolation. Linear Interpolation. Suppose we have a table x x 1 x 2...
TANA9 Lecture 7 Interpolation Suppose we have a table x x x... x n+ Interpolation Introduction. Polynomials. Error estimates. Runge s phenomena. Application - Equation solving. Spline functions and interpolation.
More informationThe Fly & Anti-Fly Missile
The Fly & Anti-Fly Missile Rick Tilley Florida State University (USA) rt05c@my.fsu.edu Abstract Linear Regression with Gradient Descent are used in many machine learning applications. The algorithms are
More informationGradient Descent. Wed Sept 20th, James McInenrey Adapted from slides by Francisco J. R. Ruiz
Gradient Descent Wed Sept 20th, 2017 James McInenrey Adapted from slides by Francisco J. R. Ruiz Housekeeping A few clarifications of and adjustments to the course schedule: No more breaks at the midpoint
More informationWK # Given: f(x) = ax2 + bx + c
Alg2H Chapter 5 Review 1. Given: f(x) = ax2 + bx + c Date or y = ax2 + bx + c Related Formulas: y-intercept: ( 0, ) Equation of Axis of Symmetry: x = Vertex: (x,y) = (, ) Discriminant = x-intercepts: When
More informationElementary Functions
Elementary Functions Part 1, Functions Lecture 1.2a, Graphs of Functions: Introduction Dr. Ken W. Smith Sam Houston State University Spring 2013 Smith (SHSU) Elementary Functions Spring 2013 1 / 37 Representing
More informationEllipsoid Algorithm :Algorithms in the Real World. Ellipsoid Algorithm. Reduction from general case
Ellipsoid Algorithm 15-853:Algorithms in the Real World Linear and Integer Programming II Ellipsoid algorithm Interior point methods First polynomial-time algorithm for linear programming (Khachian 79)
More informationCS535 Big Data Fall 2017 Colorado State University 10/10/2017 Sangmi Lee Pallickara Week 8- A.
CS535 Big Data - Fall 2017 Week 8-A-1 CS535 BIG DATA FAQs Term project proposal New deadline: Tomorrow PA1 demo PART 1. BATCH COMPUTING MODELS FOR BIG DATA ANALYTICS 5. ADVANCED DATA ANALYTICS WITH APACHE
More informationECEN 474 Homework #2 Notes
ECEN 474 Homework #2 Notes February 22, 2018 Due: 3-6-2018, 5:00PM Homeworks will not be received after due. Instructor: Sam Palermo 1. (50 points) Technology Characterization for Design In this problem,
More information5.1 Introduction to the Graphs of Polynomials
Math 3201 5.1 Introduction to the Graphs of Polynomials In Math 1201/2201, we examined three types of polynomial functions: Constant Function - horizontal line such as y = 2 Linear Function - sloped line,
More informationExercise 3: Query, Visualize, and Edit Data Using ODM Tools
Exercise 3: Query, Visualize, and Edit Data Using ODM Tools Jeffery S. Horsburgh 1 4-25-2012 Objectives In this exercise you will learn how Query, Visualize, and Edit data in an ODM database using the
More informationUniversity of Wisconsin-Madison Spring 2018 BMI/CS 776: Advanced Bioinformatics Homework #2
Assignment goals Use mutual information to reconstruct gene expression networks Evaluate classifier predictions Examine Gibbs sampling for a Markov random field Control for multiple hypothesis testing
More informationCSCI6900 Assignment 3: Clustering on Spark
DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GEORGIA CSCI6900 Assignment 3: Clustering on Spark DUE: Friday, Oct 2 by 11:59:59pm Out Friday, September 18, 2015 1 OVERVIEW Clustering is a data mining technique
More informationLinear, Quadratic, Exponential, and Absolute Value Functions
Linear, Quadratic, Exponential, and Absolute Value Functions Linear Quadratic Exponential Absolute Value Y = mx + b y = ax 2 + bx + c y = a b x y = x 1 What type of graph am I? 2 What can you tell me about
More informationSketching graphs of polynomials
Sketching graphs of polynomials We want to draw the graphs of polynomial functions y = f(x). The degree of a polynomial in one variable x is the highest power of x that remains after terms have been collected.
More informationLecture #6: Higher-Order Functions at Work
Lecture #6: Higher-Order Functions at Work Announcents: Free drop-in tutoring from HKN, the EECS honor society. Weekdays 11am-5pm 345 Soda or 290 Cory. For more information see hkn.eecs.berkeley.edu. A
More informationExample C++ Program Demonstrating Usage of a Pointer to a Function in the Call to Another Function
ME 5241 Computer Aided Engineering Tom Chase Fall 2000 Example C++ Program Demonstrating Usage of a Pointer to a Function in the Call to Another Function The sample code below implements the Newton s Method
More informationIntroduction to numerical algorithms
Introduction to numerical algorithms Given an algebraic equation or formula, we may want to approximate the value, and while in calculus, we deal with equations or formulas that are well defined at each
More informationData Science and Machine Learning Essentials
Data Science and Machine Learning Essentials Lab 3B Building Models in Azure ML By Stephen Elston and Graeme Malcolm Overview In this lab, you will learn how to use R or Python to engineer or construct
More information