Reference no: EM13947513
We have the differential equation
We simulate it with 64-bits floating point. For a large value of n the calculated solution will be:
We have the differential equation
We simulate it with 64-bits floating point. For a large value of n the calculated solution will be:
My attempt was to first solve it by hand:
The two roots: r_1=1/2 r_2=1/3
y_n=C(1/2)^n+D(1/3)^n
y_0=C+D=1 y_1=C 1/2+D 1/3=1/2 (1-D)1/2+D 1/3=1/2
1/2-1/2 D+D 1/3=1/2
-3/6 D+D 2/6=0 D=0 C=1
y_n=(1/2)^n
I don't see where the floating point inequarcy would lead to a wrong anwer for large n. Can you show where it does that?
Question 1:
A second order inhomoegeneous differential equation has the solution
If one are given two start values one would obtain that it is:
If the equation is simulated on a pc with 64-bits floating point one would get for large n that the computed result would be
From the assignment we see that C=0 and D=1 and A as a guessed solution is 1. How can you show that this would create overflow?
My attempt was to first solve it by hand:
The two roots: r_1=1/2 r_2=1/3
y_n=C(1/2)^n+D(1/3)^n
y_0=C+D=1 y_1=C 1/2+D 1/3=1/2 (1-D)1/2+D 1/3=1/2
1/2-1/2 D+D 1/3=1/2
-3/6 D+D 2/6=0 D=0 C=1
y_n=(1/2)^n
I don't see where the floating point inequarcy would lead to a wrong anwer for large n. Can you show where it does that?
Question 2:
A second order inhomoegeneous differential equation has the solution
If one are given two start values one would obtain that it is:
If the equation is simulated on a pc with 64-bits floating point one would get for large n that the computed result would be
From the assignment we see that C=0 and D=1 and A as a guessed solution is 1. How can you show that this would create overflow?
Why companies move into international operations
: Which of the following is a reason why companies move into international operations? a. To take advantage of lower production costs in regions of inexpensive labor. b. To develop new markets for their finished products. c. To better serve their prima..
|
Researcher uses his or her judgment to select people
: Which of the following is true about a simple random sampling?A. The researcher uses his or her judgment to select people who appear to best fit the requirements of the sample.B. Convenience is the key determinant of who participates.C
|
Aggressive funding strategy-conservative funding strategy
: Divide the firm%u2019s monthly funds requirement into (1) a permanent component and (2) a seasonal component, and find the monthly average for each of these components. Describe the amount of long-term and short-term financing used to meet the total ..
|
What conditional probability that affected person is a woman
: What is the probability that all three of these individuals have Alzheimer's disease? What is the probability that at least one of the three people has Alzheimer's disease?
|
A second order in homoegeneous differential equation
: From the assignment we see that C=0 and D=1 and A as a guessed solution is 1. How can you show that this would create overflow?
|
Comfortable skin temperature
: Consider the conditions of Example 3.12 for an air environment, except now the air and surroundings temperatures are both 15°C. Humans respond to cold by shivering, which increases the metabolic heat generation rate. What would the metabolic heat ..
|
What should organizations do to earn some of work
: Why do you think risks are often overlooked in Project Management? Give an example of a project you have experience with in which risks were overlooked. What was the outcome of overlooking the risks?
|
What is the market value of its equity today
: Colt Systems will have EBIT this coming year of $33 million. It will also spend $14 million on total capital expenditures and increases in the net working capital, and have $8 million in depreciation expenses. Colt is currently an all equity firm wit..
|
What are the likely competitive effects
: What are the likely competitive effects of this exchange rate change on Caterpillar Tractor, the American earth moving manufacturer, whose toughest competitor is Japan's Komatsu?
|