06.09.2021 Views

First Semester in Numerical Analysis with Julia, 2020a

First Semester in Numerical Analysis with Julia, 2020a

First Semester in Numerical Analysis with Julia, 2020a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 1. INTRODUCTION 49<br />

Arya and the unexpected challenges of data analysis<br />

Meet Arya! Arya is a college student <strong>in</strong>terested <strong>in</strong> math, biology, literature, and act<strong>in</strong>g.<br />

Like a typical college student, she texts while walk<strong>in</strong>g on campus, compla<strong>in</strong>s about<br />

demand<strong>in</strong>g professors, and argues <strong>in</strong> her blogs that homework should be outlawed.<br />

Arya is tak<strong>in</strong>g a chemistry class, and<br />

she performs some experiments <strong>in</strong> the lab<br />

to f<strong>in</strong>d the weight of two substances. Due<br />

to difficulty <strong>in</strong> mak<strong>in</strong>g precise measurements,<br />

she can only assess the weights to<br />

four-significant digits of accuracy: 2.312<br />

grams and 0.003982 grams. Arya’s professor<br />

wants to know the product of these<br />

weights, which will be used <strong>in</strong> a formula.<br />

Arya computes the product us<strong>in</strong>g her calculator: 2.312 × 0.003982 = 0.009206384,<br />

and stares at the result <strong>in</strong> bewilderment. The numbers she multiplied had four-significant<br />

digits, but the product has seven digits! Could this be the result of some magic, like<br />

a rabbit hopp<strong>in</strong>g out of a magician’s hat that was only a handkerchief a moment ago?<br />

After some <strong>in</strong>ternal deliberations, Arya decides to report the answer to her professor<br />

as 0.009206. Do you th<strong>in</strong>k Arya was correct <strong>in</strong> not report<strong>in</strong>g all of the digits of the<br />

product?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!