Consider the quantity

(a) Under what conditions should one expect an unusually large relative error in the computed value of

(b)cWs 4-digit (decimal) rounding arithmetic to evaluate both

(c) The expression

Globokim8
2020-10-20
Answered

Consider the quantity

(a) Under what conditions should one expect an unusually large relative error in the computed value of

(b)cWs 4-digit (decimal) rounding arithmetic to evaluate both

(c) The expression

You can still ask an expert for help

Arnold Odonnell

Answered 2020-10-21
Author has **109** answers

Solution:

a.The condition is that the computed value is rounded off when this expression is evaluated in finite precision arithmetic.

b.Given:$a=995.1\text{}and\text{}b=995.0$

${a}^{2}\text{}-\text{}{b}^{2}=(995.1{)}^{2}\text{}-\text{}(995.0{)}^{2}$

$=990224.01\text{}-\text{}990025$

$=199.01$

4 digit rounding arithmetic we have${a}^{2}\text{}-\text{}{b}^{2}=199.0.$

The relative error becomes$\frac{|199.01\text{}-\text{}199.0|}{199.01}=\frac{0.01}{199.01}\approx 0.525\text{}\times \text{}{10}^{-4}$

Conclusion:

Given:$a=995.1\text{}and\text{}b=995.0$

$(a\text{}+\text{}b)(a\text{}-\text{}b)=(995.1\text{}+\text{}995.0)(995.1\text{}-\text{}995.0)$

$=(199.01)(0.1)$

4 digit rounding arithmetic we have$(a\text{}+\text{}b)(a\text{}-\text{}b)=199.0.$

The relative error becomes$\frac{|199.01\text{}-\text{}199.0|}{199.01}=\frac{0.01}{199.01}\approx 0.525\text{}\times \text{}{10}^{-4}$

c.The expression$(a\text{}+\text{}b)(a\text{}-\text{}b)\text{}is\text{}more\text{}accurate\text{}than\text{}{a}^{2}\text{}-\text{}{b}^{2}$ when a and b have exact floating point representations because the expression

$(a\text{}+\text{}b)(a\text{}-\text{}b)$ involves simple addition and subtraction of decimals, then easy multiplication takes place,

however the expression${a}^{2}\text{}-\text{}{b}^{2}$ involves squaring of decimals resulting in more decimals , then subtraction takes place. The latter may involves round off whereas the former may not.

a.The condition is that the computed value is rounded off when this expression is evaluated in finite precision arithmetic.

b.Given:

4 digit rounding arithmetic we have

The relative error becomes

Conclusion:

Given:

4 digit rounding arithmetic we have

The relative error becomes

c.The expression

however the expression

asked 2021-05-11

Bethany needs to borrow $\$10,000.$ She can borrow the money at $5.5\mathrm{\%}$ simple interest for 4 yr or she can borrow at $5\mathrm{\%}$ with interest compounded continuously for 4 yr.

a) How much total interest would Bethany pay at$5.5\mathrm{\%}$ simple interest?

b) How much total interest would Bethany pay at$5$ interest compounded continuously?

c) Which option results in less total interest?

a) How much total interest would Bethany pay at

b) How much total interest would Bethany pay at

c) Which option results in less total interest?

asked 2020-10-21

On average, 3 traffic accidents per month occur at a certain intersection. What is the probability
that in any given month at this intersection

(a) exactly 5 accidents will occur?

(b) fewer than 3 accidents will occur?

(c) at least 2 accidents will occur?

(a) exactly 5 accidents will occur?

(b) fewer than 3 accidents will occur?

(c) at least 2 accidents will occur?

asked 2020-12-01

According to a study by Dr. John McDougall of his live-in weight loss program at St. Helena Hospital, the people who follow his program lose between 6 and 15 pounds a month until they approach trim body weight. Let's suppose that the weight loss is uniformly distributed. We are interested in the weight loss of a randomly selected individual following the program for one month. Give the distribution of X. Enter an exact number as an integer, fraction, or decimal.

asked 2021-01-06

The product of 2 decimals is 20.062 one of the factors has 2 decimals .how many decimals in other factors.

asked 2021-09-20

The following table shows the tuition for a semester at CBU in dollars for years since 1990.

A scatter plot for the data and a graph of a linear model in black and a quadratic model in red follows.

3691215182140005000600070008000900010000110001200013000

Use the above scatter plot to decide which model better fits the data.

linear

quadratic

none

Let

A quadratic model for the data is

Estimate the tuition 2015. $

Use the model to predict the year in which the tuition will be $15925.

asked 2020-12-02

If $2000 is invested at an interest rate of 4.5% per year, compounded continuously, find the value of the investment after the given number of years. (Round your answers to the nearest cent.)
a) 2 years
b) 4 years
c) 12 years

asked 2021-09-10

Compare the decimals.

8.86_________8.65

8.86_________8.65