diff options
Diffstat (limited to 'book')
| -rw-r--r-- | book/computingME.pdf | bin | 4060639 -> 4056336 bytes | |||
| -rw-r--r-- | book/module1/module1.tex | 2 | ||||
| -rw-r--r-- | book/module2/error.tex | 8 |
3 files changed, 4 insertions, 6 deletions
diff --git a/book/computingME.pdf b/book/computingME.pdf Binary files differindex 4ef935c..298134f 100644 --- a/book/computingME.pdf +++ b/book/computingME.pdf 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. |
