Homework 3 solutions

Similar documents
Homework 2 solutions

Week 13 Notes: 1) Riemann Sum. Aim: Compute Area Under a Graph. Suppose we want to find out the area of a graph, like the one on the right:

Pre-Calculus - Chapter 3 Sections Notes

Limit of a function:

Approximations of Definite Integrals

Numerical Integration

1. (25 points) Use the limit definition of the definite integral and the sum formulas to compute. [1 x + x2

B. Examples 1. Finite Sums finite sums are an example of Riemann Sums in which each subinterval has the same length and the same x i

f ( x) ( ) dx =

Trapezoidal Rule of Integration

Interpolation. 1. What is interpolation?

The Reimann Integral is a formal limit definition of a definite integral

Approximate Integration

The Definite Riemann Integral

Closed Newton-Cotes Integration

Trapezoidal Rule of Integration

BC Calculus Review Sheet

( ) dx ; f ( x ) is height and Δx is

Test Info. Test may change slightly.

Graphing Review Part 3: Polynomials

1.3 Continuous Functions and Riemann Sums

n 2 + 3n + 1 4n = n2 + 3n + 1 n n 2 = n + 1

MA123, Chapter 9: Computing some integrals (pp )

0 otherwise. sin( nx)sin( kx) 0 otherwise. cos( nx) sin( kx) dx 0 for all integers n, k.

Taylor Polynomials. The Tangent Line. (a, f (a)) and has the same slope as the curve y = f (x) at that point. It is the best

Definite Integral. The Left and Right Sums

Numerical Methods. Lecture 5. Numerical integration. dr hab. inż. Katarzyna Zakrzewska, prof. AGH. Numerical Methods lecture 5 1

10.5 Test Info. Test may change slightly.

Simpson s 1/3 rd Rule of Integration

 n. A Very Interesting Example + + = d. + x3. + 5x4. math 131 power series, part ii 7. One of the first power series we examined was. 2!

18.01 Calculus Jason Starr Fall 2005

TAYLOR AND MACLAURIN SERIES

General properties of definite integrals

Chapter Real Numbers

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

10.5 Power Series. In this section, we are going to start talking about power series. A power series is a series of the form

Important Facts You Need To Know/Review:

The Basic Properties of the Integral

The Definite Integral

UNIVERSITY OF BRISTOL. Examination for the Degrees of B.Sc. and M.Sci. (Level C/4) ANALYSIS 1B, SOLUTIONS MATH (Paper Code MATH-10006)

12.2 The Definite Integrals (5.2)

SUTCLIFFE S NOTES: CALCULUS 2 SWOKOWSKI S CHAPTER 11

Calculus II Homework: The Integral Test and Estimation of Sums Page 1

1 Tangent Line Problem

EVALUATING DEFINITE INTEGRALS

1.1 The FTC and Riemann Sums. An Application of Definite Integrals: Net Distance Travelled

10. AREAS BETWEEN CURVES

Westchester Community College Elementary Algebra Study Guide for the ACCUPLACER

4. When is the particle speeding up? Why? 5. When is the particle slowing down? Why?

Numerical Integration - (4.3)

Laws of Integral Indices

GRAPHING LINEAR EQUATIONS. Linear Equations. x l ( 3,1 ) _x-axis. Origin ( 0, 0 ) Slope = change in y change in x. Equation for l 1.

Chapter 7 Infinite Series

Next we encountered the exponent equaled 1, so we take a leap of faith and generalize that for any x (that s not zero),

Multiplicative Versions of Infinitesimal Calculus

For students entering Honors Precalculus Summer Packet

Orthogonal functions - Function Approximation

ALGEBRA II CHAPTER 7 NOTES. Name

f(t)dt 2δ f(x) f(t)dt 0 and b f(t)dt = 0 gives F (b) = 0. Since F is increasing, this means that

MAS221 Analysis, Semester 2 Exercises

AP Calculus Notes: Unit 6 Definite Integrals. Syllabus Objective: 3.4 The student will approximate a definite integral using rectangles.

SM2H. Unit 2 Polynomials, Exponents, Radicals & Complex Numbers Notes. 3.1 Number Theory

Convergence rates of approximate sums of Riemann integrals

Limits and an Introduction to Calculus

( ) k ( ) 1 T n 1 x = xk. Geometric series obtained directly from the definition. = 1 1 x. See also Scalars 9.1 ADV-1: lim n.

5.1 - Areas and Distances

Fourier Series and Applications

Linford 1. Kyle Linford. Math 211. Honors Project. Theorems to Analyze: Theorem 2.4 The Limit of a Function Involving a Radical (A4)

( x y ) x y. a b. a b. Chapter 2Properties of Exponents and Scientific Notation. x x. x y, Example: (x 2 )(x 4 ) = x 6.

Remarks: (a) The Dirac delta is the function zero on the domain R {0}.

Theorem 5.3 (Continued) The Fundamental Theorem of Calculus, Part 2: ab,, then. f x dx F x F b F a. a a. f x dx= f x x

8.1 Arc Length. What is the length of a curve? How can we approximate it? We could do it following the pattern we ve used before

Area, Volume, Rotations, Newton s Method

Algebra II, Chapter 7. Homework 12/5/2016. Harding Charter Prep Dr. Michael T. Lewchuk. Section 7.1 nth roots and Rational Exponents

CS537. Numerical Analysis and Computing

( ) = A n + B ( ) + Bn

Second Mean Value Theorem for Integrals By Ng Tze Beng. The Second Mean Value Theorem for Integrals (SMVT) Statement of the Theorem

Accuplacer Elementary Algebra Study Guide

ICS141: Discrete Mathematics for Computer Science I

MATH 104 FINAL SOLUTIONS. 1. (2 points each) Mark each of the following as True or False. No justification is required. y n = x 1 + x x n n

Repeated Root and Common Root

Name: A2RCC Midterm Review Unit 1: Functions and Relations Know your parent functions!

Chapter 5. The Riemann Integral. 5.1 The Riemann integral Partitions and lower and upper integrals. Note: 1.5 lectures

( ) 2 3 ( ) I. Order of operations II. Scientific Notation. Simplify. Write answers in scientific notation. III.

We will begin by supplying the proof to (a).

REVIEW OF CHAPTER 5 MATH 114 (SECTION C1): ELEMENTARY CALCULUS

Math 2414 Activity 17 (Due with Final Exam) Determine convergence or divergence of the following alternating series: a 3 5 2n 1 2n 1

MTH 146 Class 16 Notes

Solutions to Final Exam Review Problems

Math 104: Final exam solutions

AP Calculus AB Unit 5 (Ch. 6): The Definite Integral: Day 12 Chapter 6 Review

Mathematical Notation Math Calculus & Analytic Geometry I

Homework 3 Solutions

Student Success Center Elementary Algebra Study Guide for the ACCUPLACER (CPT)

A GENERALIZATION OF HERMITE-HADAMARD S INEQUALITY

Numerical Integration by using Straight Line Interpolation Formula

Mathematical Notation Math Calculus & Analytic Geometry I

Riemann Integral and Bounded function. Ng Tze Beng

BC Calculus Path to a Five Problems

Calculus Summary Sheet

Transcription:

Homework 3 solutios Sectio 2.2: Ex 3,4,5,9,12,14 Sectio 2.3: Ex 1,4; AP 1,2 20 poits. Grded 2.2, Ex 4,5, d 2.3, AP 1,2 Sectio 2.2 3. For ech uctio, id itervl [,] so tht d hve dieret sigs. x = e x 2 x -3 > 0, 0 < 0, 3 > 0; thus roots lie i the itervls [-3,0] d [0,3]. x = cosx + 1 x /4 > 0 d /2 < 0; thus root lies i the itervl [ /4, /2]. c x = lx 5 + x 3 < 0 d 5 > 0; thus root lies i the itervl [3,5] d x = x 2 10x + 23 3 > 0, 5 < 0, 7 > 0; thus roots lie i the itervls [3,5] d [5,7]. 4-5. Strt with [ o, o ] d use the lse positio method to compute c o, c 1, c 2, d c 3. 4. x = e x 2 x = 0, [ o, o ] = [-2.4, -1.6] c o = -1.83008, c 1 = -1.84093, c 2 = -1.84139, c 3 = -1.8414 5. x = cosx + 1 x, [ o, o ] = [.8, 1.6] c o = 1.27012, c 1 = 1.2823, c 2 = 1.28343, c 3 = 1.28343 9. Wht will hppe i the isectio method is used with the uctio x = 1/x-2 d the itervl is [3,7]? 37 = 1/5 > 0, so the lgorithm would tell us tht there is o root i [3,7], which is true. the itervl is [1,7]? 17 = -1/5 < 0, ut there is o root i 1,7. The method ils, ecuse the uctio is ot cotiuous i [1,7].

12. Show tht the ormul c is lgericlly equivlet to c. We dd the terms: c 14. The polyomil x = x-1 3 x-2x-3 hs 3 zeros: x=1 o multiplicity 3, x=2, d x=3, ech o multiplicity 1. I o d o re y two rel umers such tht o < 1 d o > 3, the o o <0. Thus, o the itervl [ o, o ] the isectio method will coverge to oe o the three zeros. I o <1 d o >3 re selected so tht c = + /2 is ot equl to 1, 2, or 3 or y >= 1, the the isectio method will ever coverge to which zeros? Why? It c t coverge to x=2, uless it hits c =2 exctly extremely ulikely, or the ollowig reso. Excludig the cses where c hits 1 or 3 exctly, i o <1, d o >3, the the midpoit c o will e either less th 1, greter th 3, or i the itervl 1,3. I the irst d secod cses, 1 =c o or 1 =c o, d we ck to the origil cse o <1, o >3. Assume, thereore, tht the itertio hs proceeded util c is i 1,3, d relel this poit c o. I, 1 < c o < 3, the there re three possiilities: i 1 < c o < 2, i which cse c o >0, so 1 = c o, d x=2 is outside o the rcket, ii 2 < c o < 3, i which cse c o <0, so 1 = c o, d gi, x=2 is outside o the rcket, or iii c o = 2. I either cse, oce itertio gets poit i the itervl 1,3, it rckets i o either 1 or 3, ut ever 2, uless it hppes to hit o 2 exctly.

Sectio 2.3 Exercises 1,4 Grphiclly determie the pproximte loctio o the roots o x=0 i the give itervl. Determie itervl [,] over which the isectio or lse positio lgorithms c e used to determie the roots. 1. x = x 2 e x or x i [-2, 2] The grph o x is show elow: So the root is pproximtely t x=-0.7. You could use the itervl [-1,-.5] i the lgorithms. 4. x = cosx + 1+x 2-1 or x i [-2,2] The grph o x is show elow: There re two roots, t pproximtely x = -1.8 d x = 1.8. You could use the itervls [-2, -1.6] or [1.6, 2].

Algorithms d Progrms 1-2. Approximte the rel roots, to 12 deciml plces, o ech uctio over the give itervl. 1. x = 1,000,000 x 3 111,000 x 2 + 1110 x 1, or x i [-2, 2]. Three roots, t x = 0.1,.01,.001. Note tht x c e ctored: x = 1000 x 1 100 x 1 10 x -1. 2. x = 5 x 10 38 x 9 + 21 x 8 5 x 6 3 x 5 5x 2 + 8x 3, or x i [-15, 15] Two roots, t x = -0.847129818132 d x = 7.010824348276 MATLAB codes re show elow. Three iles were used: i script tht deies the uctio d ouds, ii uctio to id corse pproximtios o the roots, d iii uctio tht perorms the isectio lgorithm to id ie pproximtio o the roots. The output ws the ollowig: x = 1,000,000 x 3 111,000 x 2 + 1110 x 1 x = 5x 10 38x 9 + 21x 8 5 x 6 3 x 5 5x 2 + 8x 3 Corse pproximtio: 1.0500e-003 28 itertios Root: 1.000000000372e-003, c=3.318e-010 Corse pproximtio: -8.4715e-001 28 itertios Root: -8.471298181321e-001, c=4.005e-011 Corse pproximtio: 9.9500e-003 28 itertios Root: 1.000000000037e-002, c=-3.017e-010 Corse pproximtio: 7.0108e+000 28 itertios Root: 7.010824348276e+000, Error: 7.452e-013 c=5.923e-005 Corse pproximtio: 1.0005e-001 28 itertios Root: 1.000000000004e-001, c=3.318e-009

MATLAB codes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Fid root o x=0 usig isectio method % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Deie uctio to id zero o, d regio to id zero i =@x1000000*x.^3-111000*x.^2+1110*x-1; i=-2; i=2; =@x5*x.^10-38*x.^9 + 21*x.^8-5*pi*x.^6-3*pi*x.^5-5*x.^2 + 8*x - 3; i=-5; i=8; % Tolerces or error delt1 = 10^-4; % error i corse pproximtio delt2 = 10^-12; % error i isectio method % Fid corse pproximtio o roots: R = pproot,i:delt1:i; rts=0; % Use isectio method to id ie pproximtio: or i=1:legthr =Ri-delt1; =Ri+delt1; [c,err,yc,k]=isect,,,delt2; rtsi=c; dispsprit'\corse pproximtio: %.4e\%i itertios\root: %.12e, \Error: %.3e \c=%.3e',ri,k,c,err,c ed % Plot uctio d roots igure1; ezplot,[i,i] hold o; plotrts,0*rts,'r*'%,[i i],[0 0],'g' uctio R = pproot,x % Iput - is oject uctio % - X is the vector o scisss % Output - R is the vector o pproximte loctios or roots Y=X; =legthx; m=0; or k=2:, i Yk-1*Yk <= 0, m=m+1; Rm=Xk-1+Xk/2; ed ed

uctio [c,err,yc,k]=isect,,,delt %Iput - is the uctio % - d re the let d right edpoits % - delt is the tolerce %Output - c is the zero % - yc= c % - err is the error estimte or c %I is deied s M-ile uctio use the @ ottio % cll [c,err,yc]=isect@,,,delt. %I is deied s oymous uctio use the % cll [c,err,yc]=isect,,,delt. y=; y=; i y*y > 0,retur,ed mx1=1+roudlog--logdelt/log2; or k=1:mx1 c=+/2; yc=c; i yc==0 =c; =c; elsei y*yc>0 =c; y=yc; else =c; y=yc; ed i - < delt, rek,ed ed c=+/2; err=s-; yc=c;