Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3 . 9 . By hand, write a VBA function named random _ exact that generates a very precise random number which rounds to a
By hand, write a VBA function named randomexact that generates a very precise random number which rounds to a particular rounded number of your choice have one in mind, and write your function with that one in mind and returns the very precise random number to the Excel cell from which the function randomexact is called. So for example, the VBA function might generate the very precise number if the rounded number you have in mind is The variable lowposs is to represent the lowest possible exact value that rounds to that particular rounded number. The variable is to represent the width of the range of the exact values that round to that particular rounded number. The values of lowposs and are userprovided. You don't actually have to provide the values of lowposs and because this code is written by hand, and will not be executed.
Repeat # but write execute the VBA function in an actual module. You must provide values of lowposs and as arguments when you enter the function in a spreadsheet cell, but do not use as the value to which the very precise number is to round. You must choose your own for credit.
the length of the side of a square, is known to two significant digits to be
a Show how the range of possible exact values for the function the area of the square, is related to the range of possible exact values for the independent variable by plotting the function and shading in the portions of the A and axes occupied by possible exact values.
b State the range of possible exact values for and for
c State the value of with the greatest warranted precision.
d How many significant digits are lost in the output the function relative to the input the independent variable
e If you feel that a calculated result expressed to the greatest warranted precision indicates an unacceptably broad range of possible exact values, what alternatives do you have?
f Suppose that, like in part is known to two significant digits to be
i In Excel, use the rand function to randomly generate possible values of and then use relative cell addresses to generate corresponding values of to at least significant digits. Then copy and paste only the values not the function do this by selecting the paste option from these latter cells into other cells, so that the values are "frozen", and then box in these frozen values as your answer.
ii Based on these randomly generated boxedin values, what would be the value of expressed with the greatest precision warranted?
iii. If you were to increase the number of random generations in ii would you become more confident that the complete range of possible values will be adequately represented? Briefly explain your answer.
iv If you were to write a VBA function to randomly draw a billion numbers each of which round off to what do you think the minimum value of those numbers would be to significant digits? Explain your answer.
g Calculate the condition number for Based on this condition number, what is the estimated number of significant digits lost in the output relative to the input? Also, based on this condition number, what is the estimated number of significant digits to which we would know A How does this compare to the number of significant digits to which we actually know A
Convert the following binary numbers into decimal numbers.
a
b
c
d
e
Convert the following decimal numbers into binary numbers.
a
b
c
d
e
Please show and in excel if possible!
Step 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