Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, this is my first experience with any sort of programming so it would be very much appreciated if you could help me with this.
Hello, this is my first experience with any sort of programming so it would be very much appreciated if you could help me with this.
Topic: Number Storage in Computers Problem 1 (a) Evaluate the following polynomial at x 3.17 y=x3-5x2 +4x-0.15 (b) Repeat (a) using 3-digit arithmetic with rounding after each mathematical operation. Consider raising to a power to be one operation. Evaluate the true percent relative error Refer to the text for the definition of true percent relative error (c) An alternate expression of the polynomial is shown below. Evaluate this alternate expression using 3-digit arithmetic with rounding after each mathematical operation. Evaluate the true percent relative error and compare the result with part (b) y=((x-5)x+4)x-0.15 Problem 2 (a) Convert 0.11 into base-2 and store the result in a 10-bit word of the following format: (0- pos, 1-neg) 2 Sign of Sign of Magnitude of exponent Magnitude of mantissa number exponent (b) Convert the stored number back into base-10, and calculate the true percent relative error caused by the storage process Problem 3 What is the smallest positive number that can be accurately stored in a 10-bit word of the same format as the one in Problem 2? Problem 4 The quantity 0.375 can be stored exactly in the 10-bit word from Problem 2. What is the next larger quantity that can be stored exactly in that 10-bit word? In other words, what is the smallest number greater than 0.375 that can be accurately stored in the 10-bit word of Problem 2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started