From c92bce22a096db9275756628613317998b083359 Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Wed, 30 Apr 2025 09:12:41 -0600 Subject: Updated book pdf --- book/computingME.pdf | Bin 4060639 -> 4056336 bytes book/module1/module1.tex | 2 -- book/module2/error.tex | 8 ++++---- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'book') diff --git a/book/computingME.pdf b/book/computingME.pdf index 4ef935c..298134f 100644 Binary files a/book/computingME.pdf and b/book/computingME.pdf differ diff --git a/book/module1/module1.tex b/book/module1/module1.tex index 5fd38b9..27bf133 100644 --- a/book/module1/module1.tex +++ b/book/module1/module1.tex @@ -7,8 +7,6 @@ \input{module1/control_structures} \input{module1/functions} \input{module1/classes_and_objects} -\input{module1/fundamentals_of_programming} -\input{module1/computing_fundamentals} \input{module1/open_source_software} \input{module1/1_excel_to_python} \input{module1/computational_expense} diff --git a/book/module2/error.tex b/book/module2/error.tex index 2646dc8..d515c4a 100644 --- a/book/module2/error.tex +++ b/book/module2/error.tex @@ -29,12 +29,12 @@ part of the computation}. An example of this could be using a finite number of terms from a Taylor Series expansion to approximate a function. -Approximating \(e^x\) by the first few terms of its Taylor series: +Approximating $e^x$ by the first few terms of its Taylor series: -\[e^x \approx 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!}​\] +$e^x \approx 1 + x +\frac{x^2}{2!} + \frac{x^3}{3!}$ The error comes from \textbf{neglecting} all the higher order terms -(\(\frac{x^4}{4!}, \frac{x^5}{5!}\), \ldots). +($\frac{x^4}{4!}, \frac{x^5}{5!}$), \ldots). Truncation error occurs when using numerical methods such as approximating and calculating derivatives and integrals. A @@ -57,7 +57,7 @@ algorithms. Round-off error is caused by \textbf{the limited precision} with which computers represent numbers. Since computers cannot store an infinite number of digits, \textbf{they round off} after a certain number of -decimal or binary places. For example, instead of representing π with +decimal or binary places. For example, instead of representing pi with infinite decimal places it may be rounded off to approximately 16 digits depending on number of bits and the representation of the bits. -- cgit v1.2.3