6. Suppose that our computer uses rounded binary floating point arithmetic and a 50 bit word...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
6. Suppose that our computer uses rounded binary floating point arithmetic and a 50 bit word of 0 e the form x - mantissa , and where bit 1 bits 2-10 bits 11-50 x = o.x.2, (.1)2 < x < 1. Find a. the machine epsilon, € =_ b. The largest floating point number representable on the machine, X big 7. The following program produced the given output. Explain the results. x=0.0 while x<1.0 x=x+.1; disp([x,sqrt(x)]) end Results displayed when routine run 0.1000 0.3162 0.2000 0.4472 0.3000 0.5477 0.4000 0.6325 0.5000 0.7071 0.6000 0.7746 0.7000 0.8367 0.8000 0.8944 0.9000 0.9487 1.0000 1.0000 1.1000 1.0488 6. Suppose that our computer uses rounded binary floating point arithmetic and a 50 bit word of 0 e the form x - mantissa , and where bit 1 bits 2-10 bits 11-50 x = o.x.2, (.1)2 < x < 1. Find a. the machine epsilon, € =_ b. The largest floating point number representable on the machine, X big 7. The following program produced the given output. Explain the results. x=0.0 while x<1.0 x=x+.1; disp([x,sqrt(x)]) end Results displayed when routine run 0.1000 0.3162 0.2000 0.4472 0.3000 0.5477 0.4000 0.6325 0.5000 0.7071 0.6000 0.7746 0.7000 0.8367 0.8000 0.8944 0.9000 0.9487 1.0000 1.0000 1.1000 1.0488
Expert Answer:
Answer rating: 100% (QA)
The image contains a question from what appears to be a computer science or numerical analysis textbook regarding floatingpoint representation and a r... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
The following table lists the earnings per event that were referred to in Exercise 2.89. Although the table lists earnings per event, players are listed in order of their total earnings, not their...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The engines of most rockets produce a constant thrust (forward force). However, when a rocket is fired, its acceleration increases with time as the engine continues to operate. Is this situation a...
-
Joe was laid off two years ago from the auto repair company where he had worked for fifteen years. For the first year, he tried to get another job. He read the want ads and left applications at local...
-
This problem asks you to prepare one-and five-year financial forecasts and conduct some sensitivity analysis and scenario analysis for Aquatic Supplies Company. A spreadsheet containing the company's...
-
Reduced temperature of a pure substance is the ratio of its (a) Critical temperature to temperature (b) Critical temperature to saturated temperature (c) Saturated temperature to critical temperature...
-
(Adjusting Entries) Selected accounts of Urdu Company are shown below. From an analysis of the T-accounts, reconstruct (a) The October transaction entries, and (b) The adjusting journal entries that...
-
VIII. The cyanate ion, OCN , has three resonance structures shown below. For the Lewis structure for OCN you should take formal charges into account to find the best Lewis structure for the molecule....
-
Dwight Donovan, the president of Donovan Enterprises, is considering two investment opportunities. Because of limited resources, he will be able to invest in only one of them. Project A is to...
-
Why are motions in civil and criminal cases important? Choose all answers that apply. Question options: to allow the parties the chance to argue why the case should be dismissed to allow the parties...
-
According to a January 5, 2017, article in The Guardian, consumer spending in Britain on subscription streaming services for movies and TV shows grew by \(23 \%\) between 2015 and 2016 to \( 1.3\)...
-
A \(1-\mathrm{kg}\) block is used to compress a spring with spring constant \(k=10.0 \mathrm{~N} / \mathrm{m}\) by \(5 \mathrm{~cm}\), and then released. Draw energy diagrams for the spring-mass...
-
An article in the Wall Street Journal reported that Tesla Inc. delivered about 35 percent more electric vehicles (EVs) in the first quarter of 2023 than in the same quarter of 2022. Elon Musk, Teslas...
-
If the equilibrium price and quantity of a product were \($100\) and 1,000 units per month in 2023 and \($150\) and 800 units per month in 2024, did this product experience a larger shift in its...
-
A student wrote the following: Increased production leads to a lower price, which in turn increases demand. Do you agree with his reasoning? Briefly explain.
-
1.1 State the three main elements of manufacturing costs. (3) 1.2 Conversion cost representing 60% of manufacturing cost amounts to N$876 000. Direct labour amounts to 37.5% of conversion cost....
-
The slopes of the tangents at the points where the curve y = x2 - 4x intersects the X-axis is 1) 1 2) +2 3) +3 4) +4
-
(a) Prove that the L and L2 norms on the vector space C[- 1, 1 ] are not equivalent. Hint: Look at Exercise 3.3.41 for ideas. (b) Can you establish a bound in either direction, i-e.. ||f|| C ||f||2...
-
Return to the situation investigated in Exercise 6.1.8. How should you arrange the springs in order to minimize the potential energy in the resulting mass-spring chain?
-
Suppose Q is an orthogonal matrix. (a) Prove that K = 2 I - Q - QT is a positive semi-definite matrix. (b) Under what conditions is K > 0?
-
Airbags are designed to protect passengers from frontal or near-frontal crashes. Their designs and performance have improved dramatically since their introduction in the 1980s. Exhibit 5.19 shows a...
-
Glen County manages a waste-to-energy facility that burns 2,000 tons of trash per day and generates over \($20\) million in electricity annually while costing state and local taxpayers \($24\)...
-
Develop a value stream map for the process you flowcharted in question 27 to identify the valueadded and non-value-added activities. How can you estimate costs and/or revenue for the process steps?...
Study smarter with the SolutionInn App