LIES MY CALCULATOR AND COMPUTER TOLD ME



Similar documents
Lies My Calculator and Computer Told Me

Representation of functions as power series

5.1 Radical Notation and Rational Exponents

Differentiation and Integration

I remember that when I

Chapter 7 - Roots, Radicals, and Complex Numbers

A.2. Exponents and Radicals. Integer Exponents. What you should learn. Exponential Notation. Why you should learn it. Properties of Exponents

Taylor and Maclaurin Series

Session 7 Fractions and Decimals

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Week 13 Trigonometric Form of Complex Numbers

Rational Exponents. Squaring both sides of the equation yields. and to be consistent, we must have

36 CHAPTER 1. LIMITS AND CONTINUITY. Figure 1.17: At which points is f not continuous?

Section 6-3 Double-Angle and Half-Angle Identities

MATH 132: CALCULUS II SYLLABUS

1.6 The Order of Operations

Tom wants to find two real numbers, a and b, that have a sum of 10 and have a product of 10. He makes this table.

9.2 Summation Notation

The Deadly Sins of Algebra

CHAPTER 5 Round-off errors

1.7 Graphs of Functions

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

Solving Rational Equations

Section 4.1 Rules of Exponents

COLLEGE ALGEBRA. Paul Dawkins

MBA Jump Start Program

Section 1.5 Exponents, Square Roots, and the Order of Operations

Continued Fractions and the Euclidean Algorithm

Higher Education Math Placement

1. The Fly In The Ointment

COMPLEX NUMBERS. a bi c di a c b d i. a bi c di a c b d i For instance, 1 i 4 7i i 5 6i

Chapter 11 Number Theory

Sequences and Series

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

2.3. Finding polynomial functions. An Introduction:

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

2.5 Zeros of a Polynomial Functions

PYTHAGOREAN TRIPLES KEITH CONRAD

Solving Quadratic Equations

Review of Fundamental Mathematics

Mathematics Pre-Test Sample Questions A. { 11, 7} B. { 7,0,7} C. { 7, 7} D. { 11, 11}

Answer Key for California State Standards: Algebra I

3.1. RATIONAL EXPRESSIONS

1 if 1 x 0 1 if 0 x 1

Equations, Inequalities & Partial Fractions

Trigonometric Functions and Triangles

Application. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of.

Angles and Quadrants. Angle Relationships and Degree Measurement. Chapter 7: Trigonometry

THE COMPLEX EXPONENTIAL FUNCTION

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

Multiplication and Division with Rational Numbers

SOLVING EQUATIONS WITH RADICALS AND EXPONENTS 9.5. section ( )( ). The Odd-Root Property

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

Core Maths C1. Revision Notes

MATH Fundamental Mathematics IV

Trigonometric Functions and Equations

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

Georgia Department of Education Kathy Cox, State Superintendent of Schools 7/19/2005 All Rights Reserved 1

Stanford Math Circle: Sunday, May 9, 2010 Square-Triangular Numbers, Pell s Equation, and Continued Fractions

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

Homework 2 Solutions

3. Mathematical Induction

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.

SECTION 0.6: POLYNOMIAL, RATIONAL, AND ALGEBRAIC EXPRESSIONS

Lectures 5-6: Taylor Series

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

Multiplying and Dividing Signed Numbers. Finding the Product of Two Signed Numbers. (a) (3)( 4) ( 4) ( 4) ( 4) 12 (b) (4)( 5) ( 5) ( 5) ( 5) ( 5) 20

Exponents and Radicals

This is a square root. The number under the radical is 9. (An asterisk * means multiply.)

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

CHAPTER II THE LIMIT OF A SEQUENCE OF NUMBERS DEFINITION OF THE NUMBER e.

3 Some Integer Functions

Real Roots of Univariate Polynomials with Real Coefficients

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

Preliminary Mathematics

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

3.3 Real Zeros of Polynomials

8 Divisibility and prime numbers

Quick Reference ebook

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

GRE Prep: Precalculus

2.2 Separable Equations

MULTIPLICATION AND DIVISION OF REAL NUMBERS In this section we will complete the study of the four basic operations with real numbers.

8 Square matrices continued: Determinants

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Properties of Real Numbers

Squaring, Cubing, and Cube Rooting

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Math 120 Final Exam Practice Problems, Form: A

Chapter 7 Outline Math 236 Spring 2001

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.

ALGEBRA REVIEW LEARNING SKILLS CENTER. Exponents & Radicals

Integer Operations. Overview. Grade 7 Mathematics, Quarter 1, Unit 1.1. Number of Instructional Days: 15 (1 day = 45 minutes) Essential Questions

Chapter 4 Online Appendix: The Mathematics of Utility Functions

Partial Fractions. (x 1)(x 2 + 1)

4.3 Lagrange Approximation

Click on the links below to jump directly to the relevant section

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Transcription:

LIES MY CALCULATOR AND COMPUTER TOLD ME See Section Appendix.4 G for a discussion of graphing calculators and computers with graphing software. A wide variety of pocket-size calculating devices are currently marketed. Some can run programs prepared by the user; some have preprogrammed packages for frequently used calculus procedures, including the display of graphs. All have certain limitations in common: a limited range of magnitude (usually less than for calculators) and a bound on accuracy (typically eight to thirteen digits). A calculator usually comes with an owner s manual. Read it! The manual will tell you about further limitations (for example, for angles when entering trigonometric functions) and perhaps how to overcome them. Program packages for microcomputers (even the most fundamental ones, which realize arithmetical operations and elementary functions) often suffer from hidden flaws. You will be made aware of some of them in the following examples, and you are encouraged to experiment using the ideas presented here. PRELIMINARY EXPERIMENTS WITH YOUR CALCULATOR OR COMPUTER To have a first look at the limitations and quality of your calculator, make it compute 3. Of course, the answer is not a terminating decimal so it can t be represented exactly on your calculator. If the last displayed digit is 6 rather than 7, then your calculator approximates 3 by truncating instead of rounding, so be prepared for slightly greater loss of accu- racy in longer calculations. Now multiply the result by 3; that is, calculate 3 3. If the answer is, then subtract from the result, thereby calculating 3 3. Instead of obtaining as the answer, you might obtain a small negative number, which depends on the construction of the circuits. (The calculator keeps, in this case, a few spare digits that are remembered but not shown.) This is all right because, as previously mentioned, the finite number of digits makes it impossible to represent 3 exactly. A similar situation occurs when you calculate (s6) 6. If you do not obtain, the order of magnitude of the result will tell you how many digits the calculator uses internally. Next, try to compute 5 using the y x key. Many calculators will indicate an error because they are built to attempt e 5ln. One way to overcome this is to use the fact that k cos k whenever k is an integer. Calculators are usually constructed to operate in the decimal number system. In contrast, some microcomputer packages of arithmetical programs operate in a number system with base other than (typically or 6). Here the list of unwelcome tricks your device can play on you is even larger, since not all terminating decimal numbers are represented exactly. A recent implementation of the BASIC language shows (in double precision) examples of incorrect conversion from one number system into another, for example, Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved. whereas 9.?.9 Yet another implementation, apparently free of the preceding anomalies, will not calculate standard functions in double precision. For example, the number, whose representation with sixteen decimal digits should be 3.459 6535 89793, appears as 3.459 9794 35; this is off by more than 3 7. What is worse, the cosine function is programmed so badly that its cos 3. (Can you invent a situation when this could ruin your calculations?) These or similar defects exist in other programming languages too. THE PERILS OF SUBTRACTION 8.?.79999 99999 99999 9 4 tan You might have observed that subtraction of two numbers that are close to each other is a tricky operation. The difficulty is similar to this thought exercise: Imagine that you walk blindfolded steps forward and then turn around and walk 99 steps. Are you sure that you end up exactly one step from where you started? Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved.

LIES MY CALCULATOR AND COMPUTER TOLD ME The name of this phenomenon is loss of significant digits. To illustrate, let s calculate The approximations from my calculator are 87s3,68s 87s3 55.59 and,68s 55.56 and so we get 87s3,68s.3. Even with three spare digits exposed, the difference comes out as.336. As you can see, the two ten-digit numbers agree in nine digits that, after subtraction, become zeros before the first nonzero digit. To make things worse, the formerly small errors in the square roots become more visible. In this particular example we can use rationalization to write 87s3,68s 87s3,68s (work out the details!) and now the loss of significant digits doesn t occur: to seven digits 87s3,68s.335 (It would take too much space to explain why all seven digits are reliable; the subject numerical analysis deals with these and similar situations.) See Exercise 7 for another instance of restoring lost digits. Now you can see why in Exercises.5. (Exercise 4) 38) your guess at the limit of tan x xx 3 was bound to go wrong: tan x becomes so close to x that the values will eventually agree in all digits that the calculator is capable of carrying. Similarly, if you start with just about any continuous function f and try to guess the value of f x h f x f x lim h l h long enough using a calculator, you will end up with a zero, despite all the rules in Chapter3!! WHERE CALCULUS IS MORE POWERFUL THAN CALCULATORS AND COOMPUTERS One of the secrets of success of calculus in overcoming the difficulties connected with subtraction is symbolic manipulation. For instance, a b a is always b, although the calculated value may be different. Try it with a 7 and b s 5. Another powerful tool is the use of inequalities; a good example is the Squeeze Theorem as demonstrated in Section.6..3. Yet another method for avoiding computational difficulties is provided by the Mean Value Theorem and its consequences, such as l Hospital s Rule (which helps solve the aforementioned exercise and others) and Taylor s Inequality. The limitations of calculators and computers are further illustrated by infinite series. A common misconception is that a series can be summed by adding terms until there is practically nothing to add and the error is less than the first neglected term. The latter statement is true for certain alternating series (see the Alternating Series Estimation Theorem) but not in general; a modified version is true for another class of series (Exercise ). As an example to refute these misconceptions, let s consider the series n n. which is a convergent p-series ( p. ). Suppose we were to try to sum this series, correct to eight decimal places, by adding terms until they are less than 5 in the ninth decimal place. In other words, we would stop when.. 5 n Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved. Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved.

LIES MY CALCULATOR AND COMPUTER TOLD ME 3 that is, when n N 96,7,84. (This would require a high-speed computer and increased precision.) After going to all this trouble, we would end up with the approximating partial sum But, from the proof of the Integral Test, we have n S N N n n y.. 9.5 n dx. x Thus, the machine result represents less than % of the correct answer! Suppose that we then wanted to add a huge number of terms of this series, say, terms, in order to approximate the infinite sum more closely. (This number, called a googol, is outside the range of pocket calculators and is much larger than the number of elementary particles in our solar system.) If we were to add terms of the above series (only in theory; a million years is less than 6 microseconds), we would still obtain a sum of less than 7 compared with the true sum of more than. (This estimate of 7 is obtained by using a more precise form of the Integral Test, known as the Euler-Maclaurin Formula, and only then using a calculator. The formula provides a way to accelerate the convergence of this and other series.) If the two preceding approaches didn t give the right information about the accuracy of the partial sums, what does? A suitable inequality satisfied by the remainder of the series, as you can see from Exercise 6. Computers and calculators are not replacements for mathematical thought. They are just replacements for some kinds of mathematical labor, either numerical or symbolic. There are, and always will be, mathematical problems that can t be solved by a calculator or computer, regardless of its size and speed. A calculator or computer does stretch the human capacity for handling numbers and symbols, but there is still considerable scope and necessity for thinking before doing. EXERCISES Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved. A Click here for answers.. Guess the value of lim x l sin x x and determine when to stop guessing before the loss of significant digits destroys your result. (The answer will depend on your calculator.) Then find the precise answer using an appropriate calculus method.. Guess the value of ln h lim h l h and determine when to stop guessing before the loss of significant digits destroys your result. This time the detrimental subtraction takes place inside the machine; explain how (assuming that the Taylor series with center a is used to approximate ln x). Then find the precise answer using an appropriate calculus method. S Click here for solutions. 3. Even innocent-looking calculus problems can lead to numbers beyond the calculator range. Show that the maximum value of the function is greater than 4. [Hint: Use logarithms.] What is the limit of f x as x l? 4. What is a numerically reliable expression to replace s cos x, especially when x is a small number? You will need to use trigonometric identities. (Recall that some computer packages would signal an unnecessary error condition, or even switch to complex arithmetic, when x.) 5. Try to evaluate f x Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved. x. x D ln ln 9 ln ln 9 on your calculator. These numbers are so close together that you will likely obtain or just a few digits of accuracy. However, we can use the Mean Value Theorem to achieve much greater accuracy.

4 LIES MY CALCULATOR AND COMPUTER TOLD ME (a) Let f x ln ln x, a 9, and b 9. Then the Mean Value Theorem gives where a c b. Since f is decreasing, we have f a f c f b. Use this to estimate the value of D. (b) Use the Mean Value Theorem a second time to discover why the quantities f a and f b in part (a) are so close to each other. 6. For the series n n., studied in the text, exactly how many terms do we need (in theory) to make the error less than 5 in the ninth decimal place? You can use the inequalities from the proof of the Integral Test: 7. Archimedes found an approximation to by considering the perimeter p of a regular 96-gon inscribed in a circle of radius. His formula, in modern notation, is (a) Carry out the calculations and compare with the value of p from more accurate sources, say p 9 sin96. How many digits did you lose? (b) Perform rationalization to avoid subtraction of approximate numbers and count the exact digits again. 8. This exercise is related to Exercise. Suppose that your computing device has an excellent program for the exponential function expx e x but a poor program for ln x. Use the identity ln a b ln a eb e b and Taylor s Inequality to improve the accuracy of ln x. 9. The cubic equation f b f a f cb a f c y N f x dx f n y f x dx nn N x 3 px q where we assume for simplicity that p, has a classical solution formula for the real root, called Cardano s formula: x 7q s79q 8p 3 3 3 7q s79q 8p 3 3 For a user of a pocket-size calculator, as well as for an inexperienced programmer, the solution presents several stumbling blocks. First, the second radicand is negative and the fractional power key or routine may not handle it. Next, even if we fix the negative radical problem, when q is small in magnitude and p is of moderate size, the small number x is the difference of two numbers close to sp3. p 96s s s s s3 (a) Show that all these troubles are avoided by the formula where Hint: Use the factorization formula (b) Evaluate u x If the result is simple, relate it to part (a), that is, restore the cubic equation whose root is u written in this form.. (a) Consider the power series It is easy to show that its radius of convergence is r. The series will converge rather slowly at x 99: find out how many terms will make the error less than 5 7. (b) We can speed up the convergence of the series in part (a). Show that x f x x f x and find the number of the terms of this transformed series that leads to an error less than 5 7. [Hint: Compare with the series n x n n, whose sum you know.]. The positive numbers 9q a 3 3p 9p a 3 a 7 q s79q 8p 3 A B 4 ( s5) 3 ( s5) 3 f x A 3 B 3 A AB B n x n n a n y e x x n dx can, in theory, be calculated from a reduction formula obtained by integration by parts: a e, a. Prove, using e x n na n e and the Squeeze Theorem, that lim n l a n. Then try to calculate a from the reduction formula using your calculator. What went wrong? The initial term a e can t be represented exactly in a calculator. Let s call c the approximation of e that we can enter. Verify from the reduction formula (by observing the pattern after a few steps) that a n c!! n!n! and recall from our study of Taylor and Maclaurin series that!! n converges to e as nl. The expression in square brackets Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved. Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved.

LIES MY CALCULATOR AND COMPUTER TOLD ME 5 converges to c e, a nonzero number, which gets multiplied where is a constant,, and n,,... For by a fast-growing factor n!. We conclude that even if all such the integrals are no longer elementary (not solvable further calculations (after entering a ) were performed without errors, the initial inaccuracy would cause the computed sequence a n to diverge. in finite terms ), but the numbers can be calculated quickly. Find the integrals for the particular choice and n,,..., 5to five digits of accuracy. 3. (a) A consolation after the catastrophic outcome of Exercise : If we rewrite the reduction formula to read a n an n we can use the inequality used in the squeeze argument to obtain improvements of the approximations of a n. Try a again using this reverse approach. (b) We used the reversed reduction formula to calculate quantities for which we have elementary formulas. To see that the idea is even more powerful, develop it for the integrals y x ne x dx 3. An advanced calculator has a key for a peculiar function: Ex e x x if x if x After so many warnings about the subtraction of close numbers, you may appreciate that the definition sinh x e x e x gives inaccurate results for small x, where sinh x is close to x. Show that the use of the accurately evaluated function Ex helps restore the accuracy of sinh x for small x. Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved. Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved.

6 LIES MY CALCULATOR AND COMPUTER TOLD ME ANSWERS S Click here for solutions. 3. 3. 5. (a) 4.854944 9. (b), x 3 3x 4 Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved. Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved.

LIES MY CALCULATOR AND COMPUTER TOLD ME 7 SOLUTIONS. The computer results are from Maple, with Digits:=6. The last column shows the values of the sixth-degree Taylor polynomial for () =csc near =. Note that the second arrangement of Taylor s polynomial is easier to use with a calculator: 6 () = 3 + 5 + 89 4 + 675 6 = 675 + 89 + 5 + 3 () calculator () computer () Taylor 3347 334596845 3346 33334 33334 33334 3334 3333334 3333334 34 3333334 33333333 33334 33333333 or 334 33333333, or, 4 33333333,, 33333333 We see that the calculator results start to deteriorate seriously at =,andforsmaller, they are entirely meaningless. The different results or etc. depended on whether we calculated [(sin ) ] or [(sin ) ]. With Maple, the result is off by more than % when = (compare with the calculator result!) A detailed analysis reveals that the values of the function are always greater than, but the computer 3 eventually gives results less than 3. The polynomial 6 () was obtained by patient simplication of the expression for (), starting with sin () = () ( cos ),wherecos = + ()4 () + (). Consequently, the exact! 4!! value of the limit is 6() = 3. It can also be obtained by several applications of l Hospital s Rule to the expression () = sin sin with intermediate simplications. Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved. 3. From () = 5 (We may assume ; Why?), we have ln () =5ln ln() and () () () = 5 ln(). This derivative, as well as the derivative () itself, is positive for = ( )= 5 49,975, and negative for. Hence the maximum value of () is ln() 5, a number too large to be calculated directly. Using decimal logarithms, () log ( ) 48987757,sothat( ) 99 4. The actual value of the limit is lim () =; it would be wasteful and inelegant to use l Hospital s Rule twenty-ve times since we can transform () into 5 () =, and the inside expression needs just one application of l Hospital s Rule to give. () 5 Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved.

8 LIES MY CALCULATOR AND COMPUTER TOLD ME 5. For () =lnln with [ ], = 9,and = 9 +,weneed () = ln, ln + () = (ln ). (a) () (),where () 485494434, () 485494383. (b) Let s estimate () () =( ) ( )= ( ).Since increases (its absolute value decreases), we have () () () 5583. 7. (a) The -digit calculator value of 9 sin is 686398, while the value (on the same device) of before 96 rationalization is 6863885,whichis68 8 less than the trigonometric result. 96 (b) = + 3 + + 3 + + + 3 + + + + 3 but of course we can avoid repetitious calculations by storing intermediate results in a memory: = + 3, = +, 3 = +, 4 = 96 + 3, andso = 3 4 According to this formula, a calculator gives 686396, which is within of the trigonometric result. With Digits:=6;,Maplegives 68639783 before rationalization (off the trig result by about 4 )and 68639788 after rationalization (error of about 7 5 ), a gain of about one digit of accuracy for rationalizing. If we sets Digits:=;, the difference between Maple s calculation of 9 sin 96 and the radical is only about 4 99. 9. (a) Let = 7 + 3 79 + 8 3 and = 7 79 + 8 3 3. Then 3 + 3 =7 and = 4 [79 (79 + 8 3 )] 3 = 3. Substitute into the formula + = 3 + 3 3 where we replace by + : = 73 ( + ) = 3 7 + 79 +8 3 3 +3 +9 7 + 79 +8 3 3 which almost yields the given formula; since replacing by results in replacing by, a simple discussion of the cases and allows us to replace by in the denominator, so that it involves only positive numbers. The problems mentioned in the introduction to this exercise have disappeared. (b) A direct attack works best here. To save space, let =+ 5, so we can rationalize, using =+ 5 and =4(check it!): = 4 3 ++ 3 3 3 3 = 4(3 3 ) = 3 3 3 and we cube the expression for : 3 = 3 3 +3 3 =4 3, 3 +3 4=( )( + +4)=, so that the only real root is =. A check using the formula from part (a): =3, = 4, so79 + 8 3 =4,58 = 54 5, and = 36 54 + 7 5 3 +9+8 54 + 7 5 3, which simplies to the given form. Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved. Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved.

LIES MY CALCULATOR AND COMPUTER TOLD ME 9. Proof that lim =:From it follows that, and integration gives + = lim + = lim = +,thatis, +, and since + =, it follows from the Squeeze Theorem that lim + =. Of course, the expression ( +)on the left side could have been replaced by and the proof would still be correct. Calculations: Using the formula =! +! + +! with an -digit calculator:! 788884 7 44536 4 5763699 788884 8 3388 5 77455488 4365636568 9 988979 6 3538788 3 3969974 988979 7 58974 4 38763886 87877 8 37896693 5 938948 545544 9 78563537 6 696448 3 9698 4365763 It is clear that the values calculated from the direct reduction formula will diverge to. If we instead calculate using the reduction formula in Maple (with Digits:=6), we get some odd results: =, 8 = 4, 9 = and 3 = 7, for examples. But for larger, the results are at least small and positive (for example,.) For 3,75, we get the delightful object too large error message. If, instead of using the reduction formula, we integrate directly with Maple, the results are much better. 3. We can start by expressing and in terms of () =( ) ( 6= ), where () = to make continuous at (by l Hospital s Rule). Namely, =+(), = () and sinh = +() [ ()] () and (), thus presenting no loss of accuracy due to subtraction. = [()+()], where the addition involves only positive numbers Stewart: Calculus, Sixth Edition. ISBN: 49566. 8 Brooks/Cole. All rights reserved. Another form, which calls the function only once: We write sinh = ( ) = [ + ()] [ + ()] that sinh is an even function, so replacing by does not change its value. = + ( ) ( ), taking advantage of the fact + ( ) Stewart: Calculus, Seventh Edition. ISBN: 53849785. (c) Brooks/Cole. All rights reserved.